ChannelInfoViewState

sealed interface ChannelInfoViewState

Represents the state of the channel information in the UI.

This sealed interface is used to model the different states that the channel information can be in, such as loading or displaying content.

Inheritors

Types

Link copied to clipboard
data class Content(val owner: User = User(), val members: ExpandableList<Member> = emptyExpandableList(), val options: List<ChannelInfoViewState.Content.Option> = emptyList()) : ChannelInfoViewState

Represents the content state of the channel information.

Link copied to clipboard

Represents the loading state of the channel information.