Hello 👋 How can we help?

Unread messages

Written by Konstantine
Updated 1 month ago

You can get a quantity of current chat’s unread messages (for example for displaying on the app icon) by calling this method:

HelpCrunch.getUnreadMessagesCount(new Callback() {
  public void onSuccess(MessagesCountResponse result) {
    int unreadMessagesCount = result.getMessagesCount();
  public void onError(Exception e) {
Did this answer your question?