Skip to content

Commit 70e487b

Browse files
authored
Update mute-participants-how-to-csharp.md
add participant muted event section
1 parent c74d8ae commit 70e487b

File tree

1 file changed

+51
-1
lines changed

1 file changed

+51
-1
lines changed

articles/communication-services/how-tos/call-automation/includes/mute-participants-how-to-csharp.md

Lines changed: 51 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,55 @@ var callConnection = callAutomationClient.GetCallConnection(CALL_CONNECTION_ID);
4343
await callConnection.MuteParticipantsAsync(target, "OperationContext").ConfigureAwait(false);
4444
```
4545

46-
## Subscribing to events
46+
## Participant muted event
47+
48+
``` json
49+
{
50+
"id": "9dff6ffa-a496-4279-979d-f6455cb88b22",
51+
"source": "calling/callConnections/401f3500-08a0-4e9e-b844-61a65c845a0b",
52+
"type": "Microsoft.Communication.ParticipantsUpdated",
53+
"data": {
54+
"participants": [
55+
{
56+
"identifier": {
57+
"rawId": "8:acs:0f6adfcd-1795-4f59-b72a-b88ab6721971_00000017-a511-a8bd-1000-343a0d0045c3",
58+
"kind": "communicationUser",
59+
"communicationUser": {
60+
"id": "8:acs:0f6adfcd-1795-4f59-b72a-b88ab6721971_00000017-a511-a8bd-1000-343a0d0045c3"
61+
}
62+
},
63+
"isMuted": true
64+
},
65+
{
66+
"identifier": {
67+
"rawId": "8:acs:0f6adfcd-1795-4f59-b72a-b88ab6721971_becb5f68-7d55-4b4c-9010-d925a7b100d6",
68+
"kind": "communicationUser",
69+
"communicationUser": {
70+
"id": "8:acs:0f6adfcd-1795-4f59-b72a-b88ab6721971_becb5f68-7d55-4b4c-9010-d925a7b100d6"
71+
}
72+
},
73+
"isMuted": false
74+
},
75+
{
76+
"identifier": {
77+
"rawId": "8:acs:0f6adfcd-1795-4f59-b72a-b88ab6721971_00000017-a511-de0e-1000-343a0d0045d0",
78+
"kind": "communicationUser",
79+
"communicationUser": {
80+
"id": "8:acs:0f6adfcd-1795-4f59-b72a-b88ab6721971_00000017-a511-de0e-1000-343a0d0045d0"
81+
}
82+
},
83+
"isMuted": false
84+
}
85+
],
86+
"sequenceNumber": 4,
87+
"callConnectionId": "401f3500-08a0-4e9e-b844-61a65c845a0b",
88+
"serverCallId": "aHR0cHM6Ly9hcGkuZmxpZ2h0cHJveHkuc2t5cGUuY29tL2FwaS92Mi9jcC9jb252LXVzZWEyLTAxLmNvbnYuc2t5cGUuY29tL2NvbnYvRkhjV1lURXFZMENUY0VKUlJ3VHc1UT9pPTQmZT02MzgxNDkzMTEwNDk0NTM2ODQ=",
89+
"correlationId": "e47198fb-1798-4f3e-b245-4fd06569ad5c"
90+
},
91+
"time": "2023-03-21T17:22:35.4300007+00:00",
92+
"specversion": "1.0",
93+
"datacontenttype": "application/json",
94+
"subject": "calling/callConnections/401f3500-08a0-4e9e-b844-61a65c845a0b"
95+
}
96+
```
4797

0 commit comments

Comments
 (0)