Skip to content

Commit 58b785c

Browse files
authored
Merge pull request #178795 from tomkau/master
Update calling-chat.md
2 parents 115443a + c928843 commit 58b785c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/communication-services/concepts/interop/calling-chat.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const call = callAgent.startCall([acsCallee]);
4343

4444
Calling a Teams user using [microsoftTeamsUserId](/javascript/api/@azure/communication-common/microsoftteamsuseridentifier?view=azure-node-latest#microsoftTeamsUserId):
4545
```js
46-
const teamsCallee = { microsoftTeamsUserId: '8:orgid:<Teams User AAD Object ID>' }
46+
const teamsCallee = { microsoftTeamsUserId: '<Teams User AAD Object ID>' }
4747
const call = callAgent.startCall([teamsCallee]);
4848
```
4949

@@ -67,7 +67,7 @@ async function createChatThread() {
6767
const createChatThreadRequest = { topic: "Hello, World!" };
6868
const createChatThreadOptions = {
6969
participants: [ {
70-
id: { microsoftTeamsUserId: '<TEAMS_USER_ID>' },
70+
id: { microsoftTeamsUserId: '<Teams User AAD Object ID>' },
7171
displayName: '<USER_DISPLAY_NAME>' }
7272
] };
7373
const createChatThreadResult = await chatClient.createChatThread(

0 commit comments

Comments
 (0)