I am trying to use the JavaScript SDK to get the total unread message count for all users and all groups:
CometChat.getUnreadMessageCount().then((count) => {
console.log(count)
});
This returns the correct unread message count for users, but only the unread count for one of the groups that I am subscribed to?
Is there a criteria for returning the unread message count?