共用方式為


ChatMessage interface

聊天訊息。

Extends

屬性

attached
clientMessageId
content
contentType
deletedOn
editedOn
messageType
metadata

訊息的元數據欄位。 <xref:%40azure%2Fcommunication-chat%23ChatMessage.metadata>

mine
senderDisplayName
senderId
status

繼承的屬性

createdOn
messageId

屬性詳細資料

attached

attached?: MessageAttachedStatus

屬性值

clientMessageId

clientMessageId?: string

屬性值

string

content

content?: string

屬性值

string

contentType

contentType: MessageContentType

屬性值

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

status

status?: MessageStatus

屬性值

繼承的屬性詳細資料

createdOn

createdOn: Date

屬性值

Date

繼承自MessageCommon.createdOn

messageId

messageId: string

屬性值

string

繼承自MessageCommon.messageId