downloadMenu

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

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

Return

The DialogMenuDetail for the download 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.onClickDownloadMenu.