Checking for New Chat Messages via API

Thanks… that wasn’t obvious to me.

In tracking is there any way to know which channels are DM and which are public?

If a user has chat_header_indicator_preference set to “Direct Messages and Mentions” I wouldnt want to show a badge for regular new messages in a channel.