Package it.tdlight.jni
Class TdApi.SendChatSetTtlMessage
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.Function
it.tdlight.jni.TdApi.SendChatSetTtlMessage
- Enclosing class:
- TdApi
public static class TdApi.SendChatSetTtlMessage extends TdApi.Function
Changes the current TTL setting (sets
a new self-destruct timer) in a secret
chat and sends the corresponding message.
Returns Message
-
Field Summary
Fields Modifier and Type Field Description long
chatId
Chat identifier.static int
CONSTRUCTOR
int
ttl
New TTL value, in seconds. -
Constructor Summary
Constructors Constructor Description SendChatSetTtlMessage()
Changes the current TTL setting (sets a new self-destruct timer) in a secret chat and sends the corresponding message.SendChatSetTtlMessage(long chatId, int ttl)
Changes the current TTL setting (sets a new self-destruct timer) in a secret chat and sends the corresponding message.SendChatSetTtlMessage(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.Function
toString
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize
-
Field Details
-
chatId
public long chatIdChat identifier. -
ttl
public int ttlNew TTL value, in seconds. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
SendChatSetTtlMessage
public SendChatSetTtlMessage()Changes the current TTL setting (sets a new self-destruct timer) in a secret chat and sends the corresponding message.Returns
Message
-
SendChatSetTtlMessage
public SendChatSetTtlMessage(long chatId, int ttl)Changes the current TTL setting (sets a new self-destruct timer) in a secret chat and sends the corresponding message.Returns
Message
- Parameters:
chatId
- long Chat identifier.ttl
- int New TTL value, in seconds.
-
SendChatSetTtlMessage
- 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()
-