Optional ReadonlyconnectionIf there's a connection error it will be available here.
ReadonlyconnectionProvides the connection status of the Ably connection.
Optional ReadonlyroomIf there's an error with the room it will be available here.
ReadonlyroomProvides the status of the room.
ReadonlysendA shortcut to the RoomReactions.send method.
Sends a room-level reaction.
Room reactions are ephemeral events that are not associated with specific messages. They're commonly used for live interactions like floating emojis, applause, or other real-time feedback in chat rooms. Unlike message reactions, room reactions are not persisted and are only visible to users currently connected to the room.
Note:
This is a stable reference and will not be changed between renders for the same room.
The reaction parameters
Promise that resolves when the reaction has been sent, or rejects with:
The response type from the useRoomReactions hook.