Skip to content

Commit 33435f8

Browse files
Add Microsoft.Communication.UserDisconnected Event (#15870)
* Add UserDisconnected Event * Fix ref and change id to userCommunicationIdentifier * Add example json
1 parent 7ba7687 commit 33435f8

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@
77
},
88
"paths": {},
99
"definitions": {
10+
"AcsUserDisconnectedEventData": {
11+
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.UserDisconnected event.",
12+
"properties": {
13+
"userCommunicationIdentifier": {
14+
"description": "The communication identifier of the user who was disconnected",
15+
"$ref": "../../../../../communication/data-plane/Common/stable/2021-03-07/common.json#/definitions/CommunicationIdentifierModel"
16+
}
17+
}
18+
},
1019
"AcsChatMessageReceivedEventData": {
1120
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatMessageReceived event.",
1221
"allOf": [
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"id": "93fa5460-7d6c-4fb7-bbb7-2d56159e98d9",
3+
"topic": "/subscriptions/3364013b-4c5c-4dc3-953a-072f091c89a7/resourcegroups/testresources/providers/microsoft.communication/communicationservices/vikramacstestresource",
4+
"subject": "user/8:acs:5354158b-17b7-489c-9380-95d8821ff76b_0000000c-6c47-7dfd-6d70-224822000cfb",
5+
"data": {
6+
"userCommunicationIdentifier": {
7+
"rawId": "8:acs:5354158b-17b7-489c-9380-95d8821ff76b_0000000c-6c47-7dfd-6d70-224822000cfb",
8+
"communicationUser": {
9+
"id": "8:acs:5354158b-17b7-489c-9380-95d8821ff76b_0000000c-6c47-7dfd-6d70-224822000cfb"
10+
}
11+
}
12+
},
13+
"eventType": "Microsoft.Communication.UserDisconnected",
14+
"dataVersion": "1.0",
15+
"metadataVersion": "1",
16+
"eventTime": "2021-09-09T21:13:45Z"
17+
}

0 commit comments

Comments
 (0)