ChannelInfoMemberViewController

class ChannelInfoMemberViewController(cid: String, memberId: 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 and events related to channel member information.

Parameters

cid

The full channel identifier (e.g., "messaging:123").

memberId

The member ID of the user whose information is being managed.

scope

The CoroutineScope used for launching coroutines.

chatClient

The ChatClient instance used for interacting with the chat API.

channelState

A Flow representing the state of the channel.

Constructors

Link copied to clipboard
constructor(cid: String, memberId: 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 SharedFlow that emits one-shot events related to channel info, such as errors or success events.

Link copied to clipboard

A StateFlow representing the current state of the channel info.

Functions

Link copied to clipboard

Handles actions related to channel member information view.