<Message>

The <Message> component is displayed for each message present in a conversation.

interface MessageProps

Properties

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

message
: MessageSnapshot

The message that's being displayed.

messageStatus
: MessageStatus

The current status of the message.

permissions
: MessagePermissions

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

Example

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

Message.js
1// loading...