Skip to main content
Chat real-time event subscriptions keep a thread’s live data moving while the user is viewing it. For the current SDK surface, the public chat topic documented here is the subchannel topic.
Conversation and community channel members receive many chat updates through normal SDK live objects and collections. Use a subchannel topic when the screen needs explicit realtime delivery for a specific message thread.

Platform Surface

Parameters

Subscribe To A Subchannel

Subscribe when the thread screen becomes active, and unsubscribe when it leaves the screen or switches to another subchannel.

Best Practices

Bind the subchannel subscription to the active message thread, not to the entire chat module. Switch the subscription when the user changes threads.
The snippets expect a real SubChannel model returned by the SDK. Avoid constructing topic paths manually in app code.
After subscribing, render messages from the SDK query or live collection APIs so local cache updates and pagination stay consistent.

Messages

Query and render messages for a subchannel.

Live Objects & Collections

Understand how realtime events update observed SDK data.