ReactionsMenu

fun ReactionsMenu(message: Message, currentUser: User?, ownCapabilities: Set<String>, onMessageAction: (MessageAction) -> Unit, onShowMoreReactionsSelected: () -> Unit, modifier: Modifier = Modifier, onDismiss: () -> Unit = {})

Represents the list of user reactions as a draggable bottom sheet.

Parameters

message

The selected message.

currentUser

The currently logged in user.

ownCapabilities

Set of capabilities the user is given for the current channel. For a full list @see ChannelCapabilities.

onMessageAction

Handler that propagates click events on each item.

onShowMoreReactionsSelected

Handler that propagates clicks on the show more reactions button.

modifier

Modifier for styling.

onDismiss

Handler called when the menu is dismissed.