Basic usage
Pass achannelId to connect to a specific channel, DM, or support chat.
- React
- Vanilla JS
- Swift
Deeplinking to messages
To scroll to and highlight a specific message, passdeeplinkToPostId. The view will automatically navigate to that message.
- React
- Vanilla JS
- Swift
Event handling
Listen to user interactions like profile clicks, link clicks, and sent messages using the event callback for your platform.- React
- Vanilla JS
- Swift
| Event | Detail | Description |
|---|---|---|
profileClick | { id: string } | Emitted when the user clicks on a profile |
linkClick | { url: string } | Emitted when the user clicks on a link |
messageSent | { id: string, content: string, channelId: string } | Emitted when the user sends a message |
experienceClick | { id: string } | Emitted when the user clicks on an experience mention |

