copyMenu

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

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

Return

The DialogMenuDetail for the copy 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.onClickCopyMenu.