Package org.drinkless.tdlib
Class TdApi.UpdateUnreadChatCount
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Update
-
- org.drinkless.tdlib.TdApi.UpdateUnreadChatCount
-
- Enclosing class:
- TdApi
public static class TdApi.UpdateUnreadChatCount extends TdApi.Update
Number of unread chats, i.e. with unread messages or marked as unread, 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.intmarkedAsUnreadCountTotal number of chats marked as unread.intmarkedAsUnreadUnmutedCountTotal number of unmuted chats marked as unread.inttotalCountApproximate total number of chats in the chat list.intunreadCountTotal number of unread chats.intunreadUnmutedCountTotal number of unread unmuted chats.
-
Constructor Summary
Constructors Constructor Description UpdateUnreadChatCount()Number of unread chats, i.e.UpdateUnreadChatCount(TdApi.ChatList chatList, int totalCount, int unreadCount, int unreadUnmutedCount, int markedAsUnreadCount, int markedAsUnreadUnmutedCount)Number of unread chats, i.e.
-
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.
-
totalCount
public int totalCount
Approximate total number of chats in the chat list.
-
unreadCount
public int unreadCount
Total number of unread chats.
-
unreadUnmutedCount
public int unreadUnmutedCount
Total number of unread unmuted chats.
-
markedAsUnreadCount
public int markedAsUnreadCount
Total number of chats marked as unread.
-
markedAsUnreadUnmutedCount
public int markedAsUnreadUnmutedCount
Total number of unmuted chats marked as unread.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
UpdateUnreadChatCount
public UpdateUnreadChatCount()
Number of unread chats, i.e. with unread messages or marked as unread, has changed. This update is sent only if the message database is used.
-
UpdateUnreadChatCount
public UpdateUnreadChatCount(TdApi.ChatList chatList, int totalCount, int unreadCount, int unreadUnmutedCount, int markedAsUnreadCount, int markedAsUnreadUnmutedCount)
Number of unread chats, i.e. with unread messages or marked as unread, has changed. This update is sent only if the message database is used.- Parameters:
chatList- The chat list with changed number of unread messages.totalCount- Approximate total number of chats in the chat list.unreadCount- Total number of unread chats.unreadUnmutedCount- Total number of unread unmuted chats.markedAsUnreadCount- Total number of chats marked as unread.markedAsUnreadUnmutedCount- Total number of unmuted chats marked as unread.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-