Skip to main content
The DMs list element renders a navigable list of the user’s direct message conversations.

Basic usage

Mount the DMs list and listen for channel selection events to navigate users into a conversation.

Company scoping

Filter the DMs list to only show conversations belonging to a specific company by passing a companyId. To programmatically create DMs, use the Create DM Channel endpoint — make sure to pass the same companyId so the DM appears in the scoped list.

Event handling

Listen for channel selection to open the corresponding chat view.