Channel Menu Dialog
fun ChannelMenuDialog(channel: UikitGroupChannel, channelMenuDialogContract: ChannelMenuDialogContract, modifier: Modifier = Modifier, menus: @Composable (UikitGroupChannel, ChannelMenuDialogContract) -> List<DialogMenuDetail> = { groupChannel, contract ->
SendbirdDialogDefaults.channelsMenuItems(channel = groupChannel, contract = contract)
}, onItemClick: (DialogMenuDetail) -> Unit = {}, onDismissRequest: () -> Unit = {})
Represents the dialog for the channel menu in the ChannelsScreen.
Since
1.0.0-beta.2
Parameters
channel
The UikitGroupChannel to show the menu dialog for.
channel Menu Dialog Contract
The ChannelMenuDialogContract to handle the menu dialog actions.
modifier
The modifier to be applied to the view.
menus
The menu items to be displayed in the dialog. Defaults to SendbirdDialogDefaults.channelsMenuItems.
on Item Click
The handler for when a menu item is clicked.
on Dismiss Request
The handler for when the dialog is dismissed.