AddMembersViewController
constructor(scope: CoroutineScope, resultLimit: Int = DEFAULT_RESULT_LIMIT, chatClient: ChatClient = ChatClient.instance(), channelState: Flow<ChannelState>)
Parameters
scope
The CoroutineScope used for launching coroutines.
resultLimit
The maximum number of search results per page.
chatClient
The ChatClient instance used for interacting with the chat API.
channelState
A Flow representing the live state of the channel, used to keep track of current members reactively so that the list remains accurate when the sheet is re-opened.