editMenu

fun editMenu(contract: MessageMenuDialogContract?, onClick: () -> Unit = { contract?.onClickEditMenu() }): DialogMenuDetail

Returns the default "edit" menu for the message menu dialog.

Return

The DialogMenuDetail for the edit menu.

Since

1.0.0-beta.2

Parameters

contract

The contract to handle the menu click actions.

onClick

The action to be executed when the menu is clicked. Defaults to MessageMenuDialogContract.onClickEditMenu.