Optional ReadonlyconnectionIf there's a connection error it will be available here.
ReadonlyconnectionProvides the connection status of the Ably connection.
Optional ReadonlyreactionsProvides access to the underlying RoomReactions instance of the room.
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.
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.