Total Unread Messages

Plz make a method that returns the total number of unread messages. Thanks!

1 Like

Thanks for creating this topic @stevenchews!

This is a straightforward feature request that I can work on this week. :+1:

Hey @stevenchews, I’ve added kitty.getUnreadMessagesCount() that returns the total number of unread messages in SDK version 1.28.0.

@aerovulpe How to get unread message count even if i have in another page of my project

Hey @Iyyanar, you can get unread message count using chatkitty.countUnreadMessages({ channel }) using the @chatkitty/core NPM package.