FieldMappingConfig
Configuration for mapping custom data fields to Chat properties. Lets the Chat work with various data source formats by mapping your field names to expected Chat interface properties.
Definition
Package:@progress/kendo-react-conversational-ui
Properties
attachmentsField?
string
Field name for message attachments.
'attachments'
authorIdField?
string
Field name for message author ID.
'authorId'
authorImageAltTextField?
string
Field name for alt text of the author's avatar (when flattened).
'authorImageAltText'
authorImageUrlField?
string
Field name for message author avatar URL (when flattened).
'authorImageUrl'
authorNameField?
string
Field name for message author name (when flattened).
'authorName'
filesField?
string
Field name for file attachments.
'files'
idField?
string
Field name for message ID.
'id'
isDeletedField?
string
Field name for message deletion status.
'isDeleted'
isFailedField?
string
Field name for message failed status. Indicates whether the message has failed to send.
'isFailed'
isPinnedField?
string
Field name for message pinned status.
'isPinned'
replyToIdField?
string
Field name for reply-to message ID.
'replyToId'
statusField?
string
Field name for message status.
'status'
suggestedActionsField?
string
Field name for the suggestedActions property of a message.
'suggestedActions'
textField?
string
Field name for message text content.
'text'
timestampField?
string
Field name for message timestamp.
'timestamp'
typingField?
string
Field name for the typing property of a message.
'typing'