MessageMenuDialog

fun MessageMenuDialog(message: UikitBaseMessage, messageMenuDialogContract: MessageMenuDialogContract, modifier: Modifier = Modifier, menus: @Composable (UikitBaseMessage, MessageMenuDialogContract) -> List<DialogMenuDetail> = { baseMessage, contract -> SendbirdDialogDefaults.messageMenuItems(message = baseMessage, contract = contract) }, onItemClick: (DialogMenuDetail) -> Unit = { it.onClick() }, onDismissRequest: () -> Unit = {})

Represents the message menu dialog for the given message.

Since

1.0.0

Parameters

message

The message to show the menu dialog.

messageMenuDialogContract

The contract to handle the message menu dialog click actions.

modifier

The modifier to be applied to the view.

menus

The lambda to create the list of DialogMenuDetail.

onItemClick

The handler for when the menu item is clicked.

onDismissRequest

The handler for when the dialog is dismissed.