GroupChannelInfoScreen
fun GroupChannelInfoScreen(viewModelFactory: ChannelInfoViewModelFactory, modifier: Modifier = Modifier, currentUser: User? = ChatClient.instance().getCurrentUser(), onNavigationIconClick: () -> Unit = {}, onAddMembersClick: () -> Unit = {})
A stateful screen component that displays the channel info for a group channel, including its members and the options available for the channel.
Parameters
viewModelFactory
The factory used to create the ChannelInfoViewModel.
modifier
The Modifier to be applied to this screen.
currentUser
The current logged-in user. Defaults to the current user from the ChatClient.
onNavigationIconClick
Callback invoked when the navigation icon is clicked.
onAddMembersClick
Callback invoked when the "Add Members" button is clicked.