Each app environment (myapp production, myapp staging, etc.) should have a separate channel with its own ID and secret key. You can manage channels only via the dashboard, not the API.
Rooms divide users connected to a channel into separate messaging groups.
When publishing a message to Scaledrone you need to define a room. A message published to a room will be broadcast to all users who have subscribed to that room (including the original publishing user, if they are subscribed).
Observable rooms act like regular rooms but provide additional functionality for keeping track of connected users and linking messages to users.
To subscribe to an observable room the room name needs to be prefixed with
Besides all the functionality offered by regular rooms, the observable rooms feature provides you with the following features:
- A way to attach data to a Socket connection. Useful for adding personal data such as a name or an ID to a connection.
- Additional events to keep track of other users who have subscribed to the room.