setRaisedHand

View as Markdown

setRaisedHand

  • setRaisedHand(params): Promise<void>

Sets the raised hand status for the current member.

Parameters

params
object

Object containing the parameters of the method.

memberId
string

Id of the member to affect. If omitted, affects the current member.

raised
boolean

Whether to raise or lower the hand. Default: true. If omitted, the hand status is toggled to the opposite of the current status.

Returns

Promise<void>

Permissions

  • video.member.raisehand: to raise a hand
  • video.member.lowerhand: to lower a hand

You need to specify the permissions when creating the Video Room Token on the server side.

Example

1await roomSession.setRaisedHand({
2 memberId: "de550c0c-3fac-4efd-b06f-b5b86...",
3 raised: false
4});