<MessageActionMenu>

The <MessageActionMenu> component displays is a dropdown menu attached to each message in the chat. It offers actions related to that message based on the user's permissions, such as editing, deleting, replying to, or leaving an emoji reaction to the given message.

interface MessageActionMenuProps

Properties

A collection of objects which are passed to all Chatbox theme components.

message
: MessageSnapshot

The message that's attached to the action menu.

permissions
: MessagePermissions

The current user's permissions relating to the given message.

Example

In the default theme, the <MessageActionMenu> component is implemented as follows:

MessageActionMenu.js
1// loading...