MessageModel
Represents the data item of a single Message.
Definition
Package:@progress/kendo-react-conversational-ui
Properties
Layout used for displaying message attachments, if any (see example).
Optional message attachments (see example).
files?
any[]
Files attached to the message.
id
string | number
Unique identifier of the message.
isDeleted?
boolean
Indicates if the message has been deleted.
isFailed?
boolean
Indicates whether the message has failed to send.
When true, renders a retry button that fires the onResendMessage event.
false
isPinned?
boolean
Indicates if the message is pinned.
pinnedAt?
Date
Date and time when the message was pinned.
replyToId?
string | number
ID of the message this message replies to.
selectionIndex?
number
Index used for keyboard selection navigation.
status?
string | MessageStatus
Sets the current status of the message. The status appears when the message is selected by clicking or through keyboard navigation.
Suggested quick actions displayed below this message (see example).
The Chat displays suggested actions only for the last message in the conversation.
text?
string
Optional text for the message. Some messages contain only attachments or quick actions.
timestamp?
Date
Time when the message was composed.
typing?
boolean
Indicates if the user is still typing the message.
If true, the Chat displays a typing indicator instead of the message.