java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.MessageContent
it.tdlight.jni.TdApi.MessageChatSetMessageAutoDeleteTime
- Enclosing class:
- TdApi
The auto-delete or self-destruct timer for messages in the chat has
been changed.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.long
If not 0, a user identifier, which default setting was automatically applied.int
New value auto-delete or self-destruct time, in seconds; 0 if disabled. -
Constructor Summary
ConstructorDescriptionThe auto-delete or self-destruct timer for messages in the chat has been changed.MessageChatSetMessageAutoDeleteTime
(int messageAutoDeleteTime, long fromUserId) The auto-delete or self-destruct timer for messages in the chat has been changed.The auto-delete or self-destruct timer for messages in the chat has been changed. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
Returns an identifier uniquely determining type of the object.int
hashCode()
void
serialize
(DataOutput output) Serialize the TDLib classMethods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
messageAutoDeleteTime
public int messageAutoDeleteTimeNew value auto-delete or self-destruct time, in seconds; 0 if disabled. -
fromUserId
public long fromUserIdIf not 0, a user identifier, which default setting was automatically applied. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
MessageChatSetMessageAutoDeleteTime
public MessageChatSetMessageAutoDeleteTime()The auto-delete or self-destruct timer for messages in the chat has been changed. -
MessageChatSetMessageAutoDeleteTime
public MessageChatSetMessageAutoDeleteTime(int messageAutoDeleteTime, long fromUserId) The auto-delete or self-destruct timer for messages in the chat has been changed.- Parameters:
messageAutoDeleteTime
- New value auto-delete or self-destruct time, in seconds; 0 if disabled.fromUserId
- If not 0, a user identifier, which default setting was automatically applied.
-
MessageChatSetMessageAutoDeleteTime
The auto-delete or self-destruct timer for messages in the chat has been changed.- Parameters:
input
- Serialized input- Throws:
IOException
- the deserialization failed
-
-
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
-
serialize
Serialize the TDLib class- Specified by:
serialize
in classTdApi.Object
- Parameters:
output
- output data stream- Throws:
IOException
- the serialization failed
-
equals
-
hashCode
public int hashCode()
-