leave Channel Menu
fun leaveChannelMenu(contract: ChannelMenuDialogContract?, onClick: () -> Unit = { contract?.onClickLeaveChannel() }): DialogMenuDetail
Returns the default "leave channel" menu.
Return
The DialogMenuDetail for the leave channel menu.
Since
1.0.0-beta.2
Parameters
contract
The contract to handle the menu click actions. If you wish to customize the onClick action, you can pass null
here.
on Click
The action to be executed when the menu is clicked. Defaults to ChannelMenuDialogContract.onClickLeaveChannel.