RoomReactions

interface RoomReactions

This interface is used to interact with room-level reactions in a chat room: subscribing to reactions and sending them.

Get an instance via Room.reactions.

Functions

Link copied to clipboard
Link copied to clipboard
abstract suspend fun send(name: String, metadata: JsonObject? = null, headers: Map<String, String>? = null)

Sends a reaction to the specified room along with optional metadata.

Link copied to clipboard

Subscribe to receive room-level reactions.