ReactionsMenuParams

data class ReactionsMenuParams(val currentUser: User?, val message: Message, val onMessageAction: (MessageAction) -> Unit, val onShowMoreReactionsSelected: () -> Unit, val ownCapabilities: Set<String>, val onDismiss: () -> Unit, val modifier: Modifier = Modifier)

Parameters for ChatComponentFactory.ReactionsMenu.

Parameters

currentUser

The currently logged in user.

message

The selected message.

onMessageAction

Action invoked when a message action is clicked.

onShowMoreReactionsSelected

Action invoked when "show more" is clicked.

ownCapabilities

The capabilities of the current user.

onDismiss

Action invoked when the menu is dismissed.

modifier

Modifier for styling.

Constructors

Link copied to clipboard
constructor(currentUser: User?, message: Message, onMessageAction: (MessageAction) -> Unit, onShowMoreReactionsSelected: () -> Unit, ownCapabilities: Set<String>, onDismiss: () -> Unit, modifier: Modifier = Modifier)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val onDismiss: () -> Unit
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard