Class TdApi.UpdateChatReadInbox
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.Update
dev.voroby.springframework.telegram.client.TdApi.UpdateChatReadInbox
- Enclosing class:
- TdApi
Incoming messages were read or the number of unread messages has been changed.
-
Field Summary
Modifier and TypeFieldDescriptionlong
Chat identifier.static final int
Identifier uniquely determining type of the object.long
Identifier of the last read incoming message.int
The number of unread messages left in the chat. -
Constructor Summary
ConstructorDescriptionIncoming messages were read or the number of unread messages has been changed.UpdateChatReadInbox
(long chatId, long lastReadInboxMessageId, int unreadCount) Incoming messages were read or the number of unread messages has been 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
-
chatId
public long chatIdChat identifier. -
lastReadInboxMessageId
public long lastReadInboxMessageIdIdentifier of the last read incoming message. -
unreadCount
public int unreadCountThe number of unread messages left in the chat. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
UpdateChatReadInbox
public UpdateChatReadInbox()Incoming messages were read or the number of unread messages has been changed. -
UpdateChatReadInbox
public UpdateChatReadInbox(long chatId, long lastReadInboxMessageId, int unreadCount) Incoming messages were read or the number of unread messages has been changed.- Parameters:
chatId
- Chat identifier.lastReadInboxMessageId
- Identifier of the last read incoming message.unreadCount
- The number of unread messages left in the chat.
-
-
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
-