ChannelItemState

data class ChannelItemState(val channel: Channel, val isMuted: Boolean = false, val typingUsers: List<User>) : ItemState

Represents each channel item we show in the list of channels.

Parameters

channel

The channel to show.

isMuted

If the channel is muted for the current user.

typingUsers

The list of users currently typing in the channel.

Constructors

Link copied to clipboard
constructor(channel: Channel, isMuted: Boolean = false, typingUsers: List<User>)

Properties

Link copied to clipboard
Link copied to clipboard
val isMuted: Boolean = false
Link copied to clipboard
open override val key: String
Link copied to clipboard