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.

Account scoping

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

Event handling

Listen for channel selection to open the corresponding chat view.