let response = try await call.sendReaction(type: "fireworks")
Reactions
Sending Reactions
It’s easy to add reactions to your call.
You can also add custom data to the reaction and specify a specific emoji
let response = try await call.sendReaction(
type: "raise-hand",
custom: ["mycustomfield": "hello"],
emojiCode: ":smile:"
)
Listening to Reactions
Here’s an example that shows how to listen to reaction events:
for await event in call.subscribe(for: CallReactionEvent.self) {
// handle reaction event
}
On this page: