Channels
Confused about "Channels"?
Let us know how we can improve our documentation:
LAST EDIT Oct 14 2024
When you retrieve a channel from the API (e.g. using query channels), the read state for all members is included in the response. This allows you to display which messages are read by each user. For each member, we include the last time he or she marked the channel as read.
Unread Messages Per Channel
Copied!Confused about "Unread Messages Per Channel"?
Let us know how we can improve our documentation:
You can retrieve the count of unread messages for the current user on a channel like this:
Unread Mentions Per Channel
Copied!Confused about "Unread Mentions Per Channel"?
Let us know how we can improve our documentation:
You can retrieve the count of unread messages mentioning the current user on a channel like this:
Mark All As Read
Copied!Confused about "Mark All As Read"?
Let us know how we can improve our documentation:
You can mark all channels as read for a user like this: