ChannelItemState
data class ChannelItemState(val channel: Channel, val isMuted: Boolean = false, val typingUsers: List<User> = emptyList(), val draftMessage: DraftMessage? = null, val isSelected: Boolean = false) : 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.
draftMessage
The draft message for the current user in the channel.
isSelected
Whether this channel is currently selected (e.g. via long-press context menu).