共用方式為


ChatMessageContent interface

聊天訊息的內容。

屬性

attachments

此郵件的附件清單

initiator

識別 Azure 通訊服務中的參與者。 例如,參與者是電話號碼或 Azure 通訊使用者。 此模型必須解譯為等位:除了rawId之外,最多可以設定一個進一步的屬性。

message

文字或 html 類型的訊息聊天訊息內容。

participants

參與者或參與者Removed類型的訊息聊天訊息內容。

topic

主題更新類型的訊息聊天訊息內容。

屬性詳細資料

attachments

此郵件的附件清單

attachments?: ChatAttachment[]

屬性值

initiator

識別 Azure 通訊服務中的參與者。 例如,參與者是電話號碼或 Azure 通訊使用者。 此模型必須解譯為等位:除了rawId之外,最多可以設定一個進一步的屬性。

initiator?: CommunicationIdentifierKind

屬性值

message

文字或 html 類型的訊息聊天訊息內容。

message?: string

屬性值

string

participants

參與者或參與者Removed類型的訊息聊天訊息內容。

participants?: ChatParticipant[]

屬性值

topic

主題更新類型的訊息聊天訊息內容。

topic?: string

屬性值

string