JavaScript
CometChatCalls.raiseHand();
CometChatCalls.lowerHand();
CometChatCalls.addEventListener("onParticipantHandRaised", (participant) => { console.log(`${participant.name} raised their hand`); // Show notification or update UI });
CometChatCalls.addEventListener("onParticipantHandLowered", (participant) => { console.log(`${participant.name} lowered their hand`); });
const callSettings = { hideRaiseHandButton: true, // ... other settings };
CometChatCalls.addEventListener("onRaiseHandButtonClicked", () => { console.log("Raise hand button clicked"); });
Was this page helpful?