Reactions & Custom Events

You can send reactions to your call very easily like the code below:

val response = call.sendReaction(type = "default", emoji = ":raise-hand:")

You can also add custom data to the reaction or specify a specific emoji.

val response = call.sendReaction(type = "default", emoji = ":raise-hand:", custom = mapOf("mycustomfield" to "hello"))

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.

val response = call.sendCustomEvent(mapOf("type" to "draw", "x" to 10, "y" to 20))

Customization

If you want to learn more about customizing the reaction emojis on a call, check out the UI Cookbook - Reactions.

© Getstream.io, Inc. All Rights Reserved.