Package it.tdlight.jni
Class TdApi.UpdateChatReadInbox
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Update
it.tdlight.jni.TdApi.UpdateChatReadInbox
- Enclosing class:
- TdApi
public static class TdApi.UpdateChatReadInbox extends TdApi.Update
Incoming messages were read or number
of unread messages has been changed.
-
Field Summary
Fields Modifier and Type Field Description long
chatId
Chat identifier.static int
CONSTRUCTOR
long
lastReadInboxMessageId
Identifier of the last read incoming message.int
unreadCount
The number of unread messages left in the chat. -
Constructor Summary
Constructors Constructor Description UpdateChatReadInbox()
Incoming messages were read or number of unread messages has been changed.UpdateChatReadInbox(long chatId, long lastReadInboxMessageId, int unreadCount)
Incoming messages were read or number of unread messages has been changed.UpdateChatReadInbox(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, 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 CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
UpdateChatReadInbox
public UpdateChatReadInbox()Incoming messages were read or number of unread messages has been changed. -
UpdateChatReadInbox
public UpdateChatReadInbox(long chatId, long lastReadInboxMessageId, int unreadCount)Incoming messages were read or number of unread messages has been changed.- Parameters:
chatId
- long Chat identifier.lastReadInboxMessageId
- long Identifier of the last read incoming message.unreadCount
- int The number of unread messages left in the chat.
-
UpdateChatReadInbox
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-