ChannelHeaderViewState

sealed interface ChannelHeaderViewState

Represents the state of the channel header in the UI.

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

Inheritors

Types

Link copied to clipboard
data class Content(val currentUser: User?, val connectionState: ConnectionState, val channel: Channel) : ChannelHeaderViewState

Represents the content state of the channel header.

Link copied to clipboard

Represents the loading state of the channel header.