ChatParticipant interface
聊天對話的參與者。
屬性
| display |
聊天參與者的顯示名稱。 |
| id | 識別 Azure 通訊服務中的參與者。 例如,參與者是電話號碼或 Azure 通訊使用者。 此模型必須解譯為等位:除了rawId之外,最多可以設定一個進一步的屬性。 |
| metadata | 中繼資料 |
| share |
與參與者共用聊天記錄的時間。 時間戳的格式為RFC3339: |
屬性詳細資料
displayName
聊天參與者的顯示名稱。
displayName?: string
屬性值
string
id
識別 Azure 通訊服務中的參與者。 例如,參與者是電話號碼或 Azure 通訊使用者。 此模型必須解譯為等位:除了rawId之外,最多可以設定一個進一步的屬性。
id: CommunicationIdentifier
屬性值
metadata
中繼資料
metadata?: Record<string, string>
屬性值
Record<string, string>
shareHistoryTime
與參與者共用聊天記錄的時間。 時間戳的格式為RFC3339:yyyy-MM-ddTHH:mm:ssZ。
shareHistoryTime?: Date
屬性值
Date