Skip to content

Commit 21e91d0

Browse files
Merge pull request #253866 from sloanster/master
Update manage-calls-web.md
2 parents f3df955 + ada08bd commit 21e91d0

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

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

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,9 @@ Check is screen sharing is on. It returns `Boolean`.
366366
const isScreenSharingOn = call.isScreenSharingOn;
367367
```
368368
## Send or receive a reaction from other participants
369+
> [!NOTE]
370+
> This API is provided as a preview for developers and may change based on feedback that we receive. To use this api please use 'beta' release of Azure Communication Services Calling Web SDK version 1.18.1 or higher
371+
369372
Within ACS you can send and receive reactions when on a group call:
370373
- Like :+1:
371374
- Love :heart:
@@ -406,8 +409,10 @@ const reaction = call.feature(SDK.Features.Reaction);
406409
reaction.on('reaction', event => {
407410
// user identifier
408411
console.log("User Mri - " + event.identifier);
409-
// reaction message
410-
console.log("reaction message - " + JSON.stringify(event.reactionMessage));
412+
// received reaction
413+
console.log("User Mri - " + event.reactionMessage.name);
414+
// reaction message
415+
console.log("reaction message - " + JSON.stringify(event.reactionMessage));
411416
}
412417
```
413418

0 commit comments

Comments
 (0)