Content

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.

Parameters

owner

The owner of the channel.

members

The list of members in the channel.

options

The list of options available in the channel information UI.

Constructors

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

Types

Link copied to clipboard
sealed interface Option

Represents the options available in the channel information UI.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val owner: User