Use a Room
Users send messages to a room and subscribe to the room in order to receive messages.- Tab Title
- Tab Title
- Tab Title
- Tab Title
Attach to a Room
To start receiving messages and events from a room, you need to attach to it:- Tab Title
- Tab Title
- Tab Title
- Tab Title
Room Status
A room can have any of the following statuses:| Status | Description |
|---|---|
initializing | The library is initializing the room. |
initialized | The room has been initialized, but no attach has been attempted yet. |
attaching | An attach has been initiated. |
attached | An attach has succeeded. In the attached status a client can publish and subscribe to messages. |
detaching | A detach has been initiated. |
detached | The room has been detached by the client. |
suspended | The room, having previously been attached, has lost continuity. |
failed | An indefinite failure condition. |
status property to check which status a room is currently in:
- Tab Title
- Tab Title
- Tab Title
- Tab Title
Next Steps
- Learn about messages
- Explore presence
- Understand typing indicators
- Discover room reactions
