Message
Represents a Chat message (see example).
Name | Type | Default | Description |
---|---|---|---|
attachmentLayout? |
|
Sets the layout for displaying message attachments. | |
attachments? |
|
Sets the message attachments. | |
author |
|
Sets the author of the message. | |
files? |
|
Sets the array of files attached to the message. | |
id? |
|
Sets a unique ID for the message. | |
isDeleted? |
|
Indicates if the message has been deleted. | |
isPinned? |
|
Indicates if the message is pinned. Pinned messages are displayed at the top of the conversation. | |
replyToId? |
|
Sets the ID of the message to which this message is a reply. | |
status? |
|
Sets the current status of the message. The status appears when the message is selected by clicking or through keyboard navigation. | |
suggestedActions? |
|
Sets the suggested quick actions to display below this message.
| |
text? |
|
Sets the text content for the message. Some messages may contain only attachments or quick actions. | |
timestamp? |
|
Sets the time when the message was composed. | |
typing? |
|
Indicates if the message is still being typed by the user. If |