Skip to content

Commit

Permalink
[communication] Add MicrosoftTeamsUser identifier kind and make id op…
Browse files Browse the repository at this point in the history
…tional (#12435)

* [communication] Add MicrosoftTeamsUser identifier kind and make id optional

* add type:object where missing

* Add isAnonymous property
  • Loading branch information
DominikMe authored Jan 16, 2021
1 parent 4cf223e commit aef2821
Showing 1 changed file with 15 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"definitions": {
"CommunicationErrorResponse": {
"description": "The Communication Services error.",
"type": "object",
"required": [
"error"
],
Expand All @@ -21,6 +22,7 @@
},
"CommunicationError": {
"description": "The Communication Services error.",
"type": "object",
"required": [
"code",
"message"
Expand Down Expand Up @@ -63,18 +65,19 @@
"unknown",
"communicationUser",
"phoneNumber",
"callingApplication"
"callingApplication",
"microsoftTeamsUser"
],
"x-ms-enum": {
"name": "CommunicationIdentifierKind",
"modelAsString": true
}
},
"CommunicationIdentifier": {
"CommunicationIdentifierModel": {
"description": "Identifies a participant in Azure Communication services. A participant is, for example, a phone number or an Azure communication user.",
"type": "object",
"required": [
"kind",
"id"
"kind"
],
"properties": {
"kind": {
Expand All @@ -87,8 +90,15 @@
},
"phoneNumber": {
"type": "string",
"readOnly": true,
"description": "The phone number in E.164 format."
},
"microsoftTeamsUserId": {
"type": "string",
"description": "The AAD object Id of the Microsoft Teams user."
},
"isAnonymous": {
"type": "boolean",
"description": "True if the identifier is anonymous."
}
}
}
Expand Down

0 comments on commit aef2821

Please sign in to comment.