ChatMessage interface
A chat message.
- Extends
Properties
attached | |
client |
|
content | |
content |
|
deleted |
|
edited |
|
message |
|
metadata | A metadata field for the message. <xref:%40azure%2Fcommunication-chat%23ChatMessage.metadata> |
mine | |
sender |
|
sender |
|
status |
Inherited Properties
created |
|
message |
Property Details
attached
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
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