Class TdApi.UpdateUnreadMessageCount
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Update
dev.voroby.springframework.telegram.client.TdApi.UpdateUnreadMessageCount
- Enclosing class:
- TdApi
Number of unread messages in a chat list 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 unread messages.int
Total number of unread messages in unmuted chats. -
Constructor Summary
ConstructorDescriptionNumber 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
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. -
unreadCount
public int unreadCountTotal number of unread messages. -
unreadUnmutedCount
public int unreadUnmutedCountTotal number of unread messages in unmuted chats. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
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
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 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
-