ChatMessage interface
聊天訊息。
- Extends
屬性
attached | |
client |
|
content | |
content |
|
deleted |
|
edited |
|
message |
|
metadata | 訊息的元數據欄位。 <xref:%40azure%2Fcommunication-chat%23ChatMessage.metadata> |
mine | |
sender |
|
sender |
|
status |
繼承的屬性
created |
|
message |
屬性詳細資料
attached
clientMessageId
clientMessageId?: string
屬性值
string
content
content?: string
屬性值
string
contentType
deletedOn
deletedOn?: Date
屬性值
Date
editedOn
editedOn?: Date
屬性值
Date
messageType
messageType: "chat"
屬性值
"chat"
metadata
訊息的元數據欄位。 <xref:%40azure%2Fcommunication-chat%23ChatMessage.metadata>
metadata?: Record<string, string>
屬性值
Record<string, string>
mine
mine?: boolean
屬性值
boolean
senderDisplayName
senderDisplayName?: string
屬性值
string
senderId
senderId?: string
屬性值
string