Message Menu Dialog
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.
message Menu Dialog Contract
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.
on Item Click
The handler for when the menu item is clicked.
on Dismiss Request
The handler for when the dialog is dismissed.