ItemState

sealed class ItemState

Represents each item we show in the list of channels.

Inheritors

Types

Link copied to clipboard
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.

Link copied to clipboard
data class SearchResultItemState(val message: Message, val channel: Channel?) : ItemState

Represents each search result item we show in the list of channels.

Properties

Link copied to clipboard
abstract val key: String