public class TLRequestAccountSetAccountTTL extends TLMethod<TLBool>
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
| Constructor and Description |
|---|
TLRequestAccountSetAccountTTL()
Instantiates a new TL request account set account tTL.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
TLBool |
deserializeResponse(InputStream stream,
TLContext context) |
int |
getClassId()
Getting TL Class identification
|
TLAccountDaysTTL |
getTtl()
Gets ttl.
|
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setTtl(TLAccountDaysTTL ttl)
Sets ttl.
|
String |
toString()
Custom toString method
|
castResponse, deserializeResponsedeserialize, serialize, serializepublic static final int CLASS_ID
public TLRequestAccountSetAccountTTL()
public int getClassId()
TLObjectgetClassId in class TLObjectpublic TLBool deserializeResponse(InputStream stream, TLContext context) throws IOException
deserializeResponse in class TLMethod<TLBool>IOExceptionpublic TLAccountDaysTTL getTtl()
public void setTtl(TLAccountDaysTTL ttl)
ttl - the ttlpublic 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.