ChannelItemState
data class ChannelItemState(val channel: Channel, val isMuted: Boolean = false, val typingUsers: List<User> = emptyList(), val draftMessage: DraftMessage? = null) : 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.
Constructors
Link copied to clipboard
constructor(channel: Channel, isMuted: Boolean = false, typingUsers: List<User> = emptyList(), draftMessage: DraftMessage? = null)