showMessageOptionsDialog

fun showMessageOptionsDialog(fragmentManager: FragmentManager, message: Message, messageOptionItems: List<MessageOptionItem>, reactionClickListener: (Message, String) -> Unit = { message: Message, reactionType: String -> messageReactionHandler.onMessageReaction(message, reactionType) }, optionClickListener: (MessageAction) -> Unit = { messageAction: MessageAction -> handleMessageAction(messageAction) })

Show message options dialog for the given set of message options.

Parameters

fragmentManager

The FragmentManager this dialog fragment will be added to.

message

The selected message.

messageOptionItems

The list of message options to display.

reactionClickListener

The callback to be invoked on reaction item click.

optionClickListener

The callback to be invoked on option item click.