ChatMessage interface
A chat message.
- Extends
Properties
| attached | |
| attachments | A list of attachments in the message. AttachmentMetadata |
| client |
|
| content | |
| content |
|
| deleted |
|
| edited |
|
| failure |
|
| message |
|
| metadata | A metadata field for the message. <xref:%40azure%2Fcommunication-chat%23ChatMessage.metadata> |
| mine | |
| sender |
|
| sender |
|
| status |
Property Details
attached
attachments
A list of attachments in the message. AttachmentMetadata
attachments?: AttachmentMetadata[]
Property Value
clientMessageId
clientMessageId?: string
Property Value
string
content
content?: string
Property Value
string
contentType
deletedOn
deletedOn?: Date
Property Value
Date
editedOn
editedOn?: Date
Property Value
Date
failureReason
failureReason?: string
Property Value
string
messageType
messageType: "chat"
Property Value
"chat"
metadata
A metadata field for the message. <xref:%40azure%2Fcommunication-chat%23ChatMessage.metadata>
metadata?: Record<string, string>
Property Value
Record<string, string>
mine
mine?: boolean
Property Value
boolean
senderDisplayName
senderDisplayName?: string
Property Value
string
senderId
senderId?: string
Property Value
string