Filter channels by unread only
Motivation Our users sometimes need to check whether they have hidden, unread messages.
Proposed solution It would be nice if under 'filters' we could have an option to only query channels with unread messages.
Acceptance Criteria My only requirement would be for the filter to work.
Hi Leticia,
Unfortunately, we don't have a built-in queryable field allowing you to filter by unread channels using the QueryChannels endpoint. I'm passing this feature request to the product board team for consideration.
For now, you would have to query that user's channels first and then filter your response to only retrieve channels with unread_count>0. It is possible to sort by has_unread or unread_count to retrieve the unread channels first, as described here: []https://getstream.io/chat/docs/javascript/query_channels/?language=javascript#query-parameters
If you have more questions, we are happy to continue this conversation over the support line. Please email us at @[email protected]
Best regards, Guilherme Support Engineer
As this is a back-end related request, it is moved to the BE backlog.