Package it.tdlight.jni
Class TdApi.UpdateMessageContentOpened
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Update
it.tdlight.jni.TdApi.UpdateMessageContentOpened
- Enclosing class:
- TdApi
public static class TdApi.UpdateMessageContentOpened extends TdApi.Update
The message content was opened. Updates
voice note messages to "listened",
video note messages to "viewed"
and starts the TTL timer for self-destructing messages.
-
Field Summary
Fields Modifier and Type Field Description long
chatId
Chat identifier.static int
CONSTRUCTOR
long
messageId
Message identifier. -
Constructor Summary
Constructors Constructor Description UpdateMessageContentOpened()
The message content was opened.UpdateMessageContentOpened(long chatId, long messageId)
The message content was opened.UpdateMessageContentOpened(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
chatId
public long chatIdChat identifier. -
messageId
public long messageIdMessage identifier. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
UpdateMessageContentOpened
public UpdateMessageContentOpened()The message content was opened. Updates voice note messages to "listened", video note messages to "viewed" and starts the TTL timer for self-destructing messages. -
UpdateMessageContentOpened
public UpdateMessageContentOpened(long chatId, long messageId)The message content was opened. Updates voice note messages to "listened", video note messages to "viewed" and starts the TTL timer for self-destructing messages.- Parameters:
chatId
- long Chat identifier.messageId
- long Message identifier.
-
UpdateMessageContentOpened
- 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()
-