Optional
Readonly
connectionIf there's a connection error it will be available here.
Readonly
connectionProvides the connection status of the Ably connection.
Optional
Readonly
reactionsProvides access to the underlying RoomReactions instance of the room.
Optional
Readonly
roomIf there's an error with the room it will be available here.
Readonly
roomProvides the status of the room.
Readonly
sendA shortcut to the RoomReactions.send method.
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 {type, headers, metadata} for the room reaction to be sent. Type 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.
The response type from the useRoomReactions hook.