Skip to content

Commit 819d467

Browse files
Peixin Liutinaharter
authored andcommitted
Update manage-calls-web.md
1 parent f325f79 commit 819d467

File tree

1 file changed

+17
-3
lines changed
  • articles/communication-services/how-tos/cte-calling-sdk/includes/manage-calls

1 file changed

+17
-3
lines changed

articles/communication-services/how-tos/cte-calling-sdk/includes/manage-calls/manage-calls-web.md

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,20 @@ Consider the following scenario, where Alice makes a call to Bob, then Alice add
342342
If Teams user stops call recording, the recording is placed into the chat associated with the thread. Provided chat ID impacts the experience of Teams users in Teams clients.
343343

344344
Recommendations for the management of chat ID:
345-
- Escalation of the 1:1 phone call by adding another phone participant: Use Graph API to get the existing chat ID with only Teams user as a participant or create a new group chat with participants: Teams user ID and "00000000-0000-0000-0000-000000000000".
346-
- Group call with single Teams user and multiple phone participants: Use Graph API to get existing chat ID with only Teams user as a participant or create a new group chat with participants: Teams user ID and "00000000-0000-0000-0000-000000000000".
347-
- Group call with more than 2 Teams users: Use Graph API to get or create a group chat with the Teams users.
345+
- Escalation of the 1:1 phone call by adding another phone participant:
346+
* Method `addParticipant` allows you to provide optional parameter thread ID. If the parameter isn't provided, then a new group chat is created, and all participants are added to the call and chat participants list. If the parameter is provided, then Teams users can see ongoing call associated to this group chat in Teams app. You can create new group chat via Graph API.
347+
```js
348+
addParticipant(participant: MicrosoftTeamsUserIdentifier | PhoneNumberIdentifier | MicrosoftTeamsAppIdentifier | UnknownIdentifier)
349+
```
350+
- Start group call with single Microsoft 365 user and multiple phone participants:
351+
* Method `startCall` API allows you to start a group call with multiple participants and optionally provide thread ID. If the parameter isn't provided, then a new group chat is created, and all Microsoft 365 participants are added to the call and chat participants list. If the parameter is provided, then Teams users can see ongoing call associated to this group chat in Teams app. You can create new group chat via Graph API.
352+
```js
353+
startCall(MicrosoftTeamsUserIdentifier | PhoneNumberIdentifier | MicrosoftTeamsAppIdentifier | UnknownIdentifier)[])
354+
```
355+
* Use Graph API to get existing chat ID with only Teams user as a participant or create a new group chat with participants: Teams user ID and "00000000-0000-0000-0000-000000000000".
356+
- Start group call with more than 2 Microsoft 365 users:
357+
* (Optional way) When making a group call with more than 2 Microsoft 365 users using ACS Calling SDK, the SDK will automatically create the thread by default.
358+
```js
359+
startCall(MicrosoftTeamsUserIdentifier | PhoneNumberIdentifier | MicrosoftTeamsAppIdentifier | UnknownIdentifier)[])
360+
```
361+
* If desired, the developer can provide a unique thread ID to start the group call or add participants. In this case, the ACS Calling SDK will use the given thread ID to create the group call. A chat thread is created for the Teams users and this thread is associated to the group call for users in Teams app. This allows them to chat during the call. Chat thread management can be done via [Graph API](/graph/api/group-post-threads)

0 commit comments

Comments
 (0)