DmsListElement reference.
Basic usage
Mount the DMs list and listen for channel selection events to navigate users into a conversation.- React
- Vanilla JS
- Swift
Account scoping
Filter the DMs list to only show conversations belonging to a specific account by passing acompanyId. To programmatically create DMs, use the Create DM Channel endpoint, passing the same companyId so the DM appears in the scoped list.
- React
- Vanilla JS
- Swift
Event handling
Listen for channel selection to open the corresponding chat view.- React
- Vanilla JS
- Swift

