MessageModelPremium
Represents the data item of a single Message
.
Name | Type | Default | Description |
---|---|---|---|
attachmentLayout? |
|
Layout used for displaying message attachments, if any (see example). | |
attachments? |
|
Optional message attachments (see example). | |
author |
|
Author of the message. | |
files? |
|
Files attached to the message. | |
id |
|
Unique identifier of the message. | |
isDeleted? |
|
Indicates if the message has been deleted. | |
isLoading? |
|
Indicates if the message is loading.
If | |
isPinned? |
|
Indicates if the message is pinned. | |
pinnedAt? |
|
Date and time when the message was pinned. | |
pinnedBy? |
|
User who pinned the message. | |
replyToId? |
|
ID of the message this message replies to. | |
selectionIndex? |
|
Index used for keyboard selection navigation. | |
status? |
|
Optional status string for the message. Displays when you select the message by mouse or keyboard. | |
suggestedActions? |
|
Suggested quick actions displayed below this message (see example).
| |
text? |
|
Optional text for the message. Some messages contain only attachments or quick actions. | |
timestamp? |
|
Time when the message was composed. | |
typing? |
|
Indicates if the user is still typing the message.
If |