ReactionsMenuContentParams

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

Parameters for ChatComponentFactory.ReactionsMenuContent.

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.

modifier

Modifier for styling.

Constructors

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

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard