Open channel service configuration
Open channels are supported by default and do not require activation. However, some features require Console configuration, such as broadcast messages and cloud message storage.
Feature configuration
Configure open channel features in the Console under Chat > Chat settings > Open Channels:
- Allow participation in multiple channels: By default, a user can only be in one open channel. Enable this to allow multiple simultaneous channels.
- Enable auto messaging for participant events: Subscribe to the
open_channel:operationwebhook event in the Console under Chat > Webhooks to receive notifications when channels are created, destroyed, or when participants join or leave. - Message type filter on join: By default, up to 50 recent messages of all types are retrieved when joining. Enable this to filter by message type.
- Restrict messaging to joined participants: By default, non-participants can send messages to open channels via the SDK. Enable this to restrict sending to joined participants only.
- Sync logout across devices: When a user leaves on one device, other devices also leave the same channel.
Open channel metadata is also supported. Use it to store custom key-value attributes in channels. To receive metadata change notifications on your server, subscribe to the open_channel:metadata_update webhook event in the Console under Chat > Webhooks.