Allows you to interact with room-level reactions.
The room reactions instance for the room.
ErrorInfo if reactions are not enabled for the room.
The unique identifier of the room.
The room identifier.
The current status of the room.
The current status.
Attaches to the room to receive events in realtime.
If a room fails to attach, it will enter either the RoomStatus.Suspended or RoomStatus.Failed state.
If the room enters the failed state, then it will not automatically retry attaching and intervention is required.
If the room enters the suspended state, then the call to attach will reject with the ErrorInfo that caused the suspension. However, the room will automatically retry attaching after a delay.
A promise that resolves when the room is attached.
Registers a listener that will be called whenever the room status changes.
The function to call when the status changes.
An object that can be used to unregister the listener.
Returns the room options.
A copy of the options used to create the room.
Represents a chat room.