Skip to main content
The channel list element renders a navigable list of the user’s direct message conversations. It picks up the same theme as the rest of your chat elements. For every option it takes on the web, see the ChannelListElement reference.

Basic usage

Account scoping

Filter the channel list to only show conversations belonging to a specific account by passing an accountId. To create a DM from your server, call Create Channel with kind set to private. Pass the same account ID as account_id so the DM appears in the scoped list.

Event handling

Pass an event callback to listen for channel selections.