Class TdApi.UpdateUnreadMessageCount

  • Enclosing class:
    TdApi

    public static class TdApi.UpdateUnreadMessageCount
    extends TdApi.Update
    Number of unread messages has changed. This update is sent only if a message database is used.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      int unreadCount
      Total number of unread messages.
      int unreadUnmutedCount
      Total number of unread messages in unmuted chats.
    • Field Detail

      • unreadCount

        public int unreadCount
        Total number of unread messages.
      • unreadUnmutedCount

        public int unreadUnmutedCount
        Total number of unread messages in unmuted chats.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • UpdateUnreadMessageCount

        public UpdateUnreadMessageCount()
        Default constructor.
      • UpdateUnreadMessageCount

        public UpdateUnreadMessageCount​(int unreadCount,
                                        int unreadUnmutedCount)
        Constructor for initialization of all fields.
        Parameters:
        unreadCount - Total number of unread messages.
        unreadUnmutedCount - Total number of unread messages in unmuted chats.