Skip to main content

Reactions & Custom Events


It's easy to add reactions to your call.

let response = try await call.sendReaction(type: "fireworks")

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:"

Custom Events

In case the reaction system isn't flexible enough we also support custom events. This is basically just a realtime layer that you can broadcast your own events to.

let response = try await call.sendCustomEvent(["type": .string("draw"), "x": .number(10), "y": .number(20)])

Did you find this page helpful?