Package org.drinkless.tdlib
Class TdApi.UpdateChatReadInbox
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.Update
-
- org.drinkless.tdlib.TdApi.UpdateChatReadInbox
-
- Enclosing class:
- TdApi
public static class TdApi.UpdateChatReadInbox extends TdApi.Update
Incoming messages were read or the number of unread messages has been changed.
-
-
Field Summary
Fields Modifier and Type Field Description longchatIdChat identifier.static intCONSTRUCTORIdentifier uniquely determining type of the object.longlastReadInboxMessageIdIdentifier of the last read incoming message.intunreadCountThe number of unread messages left in the chat.
-
Constructor Summary
Constructors Constructor Description UpdateChatReadInbox()Incoming 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
chatId
public long chatId
Chat identifier.
-
lastReadInboxMessageId
public long lastReadInboxMessageId
Identifier of the last read incoming message.
-
unreadCount
public int unreadCount
The number of unread messages left in the chat.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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 Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-