public class TLDecryptedMessageActionSetMessageTTL extends TLDecryptedMessageAction
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
| Constructor and Description |
|---|
TLDecryptedMessageActionSetMessageTTL()
Instantiates a new TL decrypted message action set message tTL.
|
TLDecryptedMessageActionSetMessageTTL(int _ttlSeconds)
Instantiates a new TL decrypted message action set message tTL.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
int |
getClassId()
Getting TL Class identification
|
int |
getTtlSeconds()
Gets ttl seconds.
|
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setTtlSeconds(int ttlSeconds)
Sets ttl seconds.
|
String |
toString()
Custom toString method
|
deserialize, serialize, serializepublic static final int CLASS_ID
public TLDecryptedMessageActionSetMessageTTL()
public TLDecryptedMessageActionSetMessageTTL(int _ttlSeconds)
_ttlSeconds - the _ ttl secondspublic int getClassId()
TLObjectgetClassId in class TLObjectpublic int getTtlSeconds()
public void setTtlSeconds(int ttlSeconds)
ttlSeconds - the ttl secondspublic void serializeBody(OutputStream stream) throws IOException
TLObjectserializeBody in class TLObjectstream - destination streamIOExceptionpublic void deserializeBody(InputStream stream, TLContext context) throws IOException
TLObjectdeserializeBody in class TLObjectstream - source streamcontext - tl contextIOExceptionCopyright © 2017. All rights reserved.