MessageMenu
open fun MessageMenu(modifier: Modifier, message: Message, messageOptions: List<MessageOptionItemState>, ownCapabilities: Set<String>, onMessageAction: (MessageAction) -> Unit, onShowMore: () -> Unit, onDismiss: () -> Unit)
Factory method for creating the full content of the SelectedMessageMenu. This is the menu that appears when a message is long-pressed.
Parameters
modifier
The modifier for the menu.
message
The selected message.
messageOptions
List of message options.
ownCapabilities
The capabilities of the current user.
onMessageAction
Callback for when a message action is clicked.
onDismiss
Callback for when the menu is dismissed.