CommunicationIdentifierModel interface
識別 Azure 通訊服務中的參與者。 例如,參與者是電話號碼或 Azure 通訊使用者。 此模型是多型的:除了 kind 和 rawId 之外,最多可以設定一個進一步屬性,這必須符合種類列舉值。
屬性
communication |
通訊使用者。 |
kind | 標識碼種類。 只有在回應中才需要。 |
microsoft |
Microsoft Teams 應用程式。 |
microsoft |
Microsoft Teams 使用者。 |
phone |
電話號碼。 |
raw |
標識碼的原始標識碼。 要求中為選擇性,回應中為必要專案。 |
屬性詳細資料
communicationUser
kind
標識碼種類。 只有在回應中才需要。
kind?: string
屬性值
string
microsoftTeamsApp
Microsoft Teams 應用程式。
microsoftTeamsApp?: MicrosoftTeamsAppIdentifierModel
屬性值
microsoftTeamsUser
Microsoft Teams 使用者。
microsoftTeamsUser?: MicrosoftTeamsUserIdentifierModel
屬性值
phoneNumber
rawId
標識碼的原始標識碼。 要求中為選擇性,回應中為必要專案。
rawId: string
屬性值
string