Class TdApi.UpdateUnreadChatCount
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Update
dev.voroby.springframework.telegram.client.TdApi.UpdateUnreadChatCount
- Enclosing class:
- TdApi
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
Modifier and TypeFieldDescriptionThe chat list with changed number of unread messages.static final int
Identifier uniquely determining type of the object.int
Total number of chats marked as unread.int
Total number of unmuted chats marked as unread.int
Approximate total number of chats in the chat list.int
Total number of unread chats.int
Total number of unread unmuted chats. -
Constructor Summary
ConstructorDescriptionNumber of unread chats, i.e. with unread messages or marked as unread, has changed.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. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
chatList
The chat list with changed number of unread messages. -
totalCount
public int totalCountApproximate total number of chats in the chat list. -
unreadCount
public int unreadCountTotal number of unread chats. -
unreadUnmutedCount
public int unreadUnmutedCountTotal number of unread unmuted chats. -
markedAsUnreadCount
public int markedAsUnreadCountTotal number of chats marked as unread. -
markedAsUnreadUnmutedCount
public int markedAsUnreadUnmutedCountTotal number of unmuted chats marked as unread. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
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 Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-