Filter channels only unread

Hello, I use this API to query-channels. How to filter channels that have only unread messages?

Hello @AmityAsk , Currently, there isn’t a way to directly filter channels that have only unread messages using the query-channels API.

However, the API typically sorts channels by lastUpdated. This means that channels with the most recent messages will appear on the first few pages, unless there are channels with unread messages but no new messages. In such cases, those channels will be pushed further down the list.

If you have any other questions or need further assistance, please feel free to ask.

1 Like