Package org.drinkless.tdlib
Class TdApi.UpdateUnreadMessageCount
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Update
-
- org.drinkless.tdlib.TdApi.UpdateUnreadMessageCount
-
- Enclosing class:
- TdApi
public static class TdApi.UpdateUnreadMessageCount extends TdApi.Update
Number of unread messages in a chat list has changed. This update is sent only if the message database is used.
-
-
Field Summary
Fields Modifier and Type Field Description TdApi.ChatListchatListThe chat list with changed number of unread messages.static intCONSTRUCTORIdentifier uniquely determining type of the object.intunreadCountTotal number of unread messages.intunreadUnmutedCountTotal number of unread messages in unmuted chats.
-
Constructor Summary
Constructors Constructor Description UpdateUnreadMessageCount()Number of unread messages in a chat list has changed.UpdateUnreadMessageCount(TdApi.ChatList chatList, int unreadCount, int unreadUnmutedCount)Number of unread messages in a chat list has changed.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
chatList
public TdApi.ChatList chatList
The chat list with changed number of unread messages.
-
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()
Number of unread messages in a chat list has changed. This update is sent only if the message database is used.
-
UpdateUnreadMessageCount
public UpdateUnreadMessageCount(TdApi.ChatList chatList, int unreadCount, int unreadUnmutedCount)
Number of unread messages in a chat list has changed. This update is sent only if the message database is used.- Parameters:
chatList- The chat list with changed number of unread messages.unreadCount- Total number of unread messages.unreadUnmutedCount- Total number of unread messages in unmuted chats.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-