ChannelMenuDialog

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.

channelMenuDialogContract

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.

onItemClick

The handler for when a menu item is clicked.

onDismissRequest

The handler for when the dialog is dismissed.