Send a reaction to the room including some metadata.
This method accepts parameters for a room-level reaction. It accepts an object
an object containing {name, headers, metadata} for the room reaction to be sent. Name is required, metadata and headers are optional.
The returned promise resolves when the reaction was sent. Note that it is possible to receive your own reaction via the reactions listener before this promise resolves.
Subscribe to receive room-level reactions.
The listener function to be called when a reaction is received.
A response object that allows you to control the subscription.
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.