ChannelHeaderViewController

class ChannelHeaderViewController(cid: String, scope: CoroutineScope, chatClient: ChatClient = ChatClient.instance(), channelState: Flow<ChannelState> = chatClient .watchChannelAsState(cid = cid, messageLimit = 0, coroutineScope = scope) .filterNotNull())

Controller responsible for managing the state of the channel header.

Constructors

Link copied to clipboard
constructor(cid: String, scope: CoroutineScope, chatClient: ChatClient = ChatClient.instance(), channelState: Flow<ChannelState> = chatClient .watchChannelAsState(cid = cid, messageLimit = 0, coroutineScope = scope) .filterNotNull())

Properties

Link copied to clipboard

A StateFlow representing the current state of the channel header.