public class TLRequestUploadGetCdnFile extends TLMethod<TLAbsCdnFile>
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID |
| Constructor and Description |
|---|
TLRequestUploadGetCdnFile() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
TLAbsCdnFile |
deserializeResponse(InputStream stream,
TLContext context) |
int |
getClassId()
Getting TL Class identification
|
TLBytes |
getFileToken() |
int |
getLimit() |
int |
getOffset() |
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setFileToken(TLBytes fileToken) |
void |
setLimit(int value) |
void |
setOffset(int offset) |
String |
toString()
Custom toString method
|
castResponse, deserializeResponsedeserialize, serialize, serializepublic static final int CLASS_ID
public int getClassId()
TLObjectgetClassId in class TLObjectpublic TLAbsCdnFile deserializeResponse(InputStream stream, TLContext context) throws IOException
deserializeResponse in class TLMethod<TLAbsCdnFile>IOExceptionpublic TLBytes getFileToken()
public void setFileToken(TLBytes fileToken)
public int getOffset()
public void setOffset(int offset)
public int getLimit()
public void setLimit(int value)
public 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.