ChannelAttachmentsViewState

Represents the state of the channel attachments view.

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

Inheritors

Types

Link copied to clipboard
data class Content(val items: List<ChannelAttachmentsViewState.Content.Item> = emptyList(), val canLoadMore: Boolean = true, val isLoadingMore: Boolean = false) : ChannelAttachmentsViewState

Represents the content state of the channel attachments view.

Link copied to clipboard
data class Error(val message: String) : ChannelAttachmentsViewState

Represents the error state of the channel attachments view.

Link copied to clipboard

Represents the loading state of the channel attachments view.