public class TLRequestUploadSaveFilePart extends TLMethod<TLBool>
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
| Constructor and Description |
|---|
TLRequestUploadSaveFilePart()
Instantiates a new TL request upload save file part.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
TLBool |
deserializeResponse(InputStream stream,
TLContext context) |
TLBytes |
getBytes()
Gets bytes.
|
int |
getClassId()
Getting TL Class identification
|
long |
getFileId()
Gets file id.
|
int |
getFilePart()
Gets file part.
|
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setBytes(TLBytes value)
Sets bytes.
|
void |
setFileId(long value)
Sets file id.
|
void |
setFilePart(int value)
Sets file part.
|
String |
toString()
Custom toString method
|
castResponse, deserializeResponsedeserialize, serialize, serializepublic static final int CLASS_ID
public TLRequestUploadSaveFilePart()
public int getClassId()
TLObjectgetClassId in class TLObjectpublic TLBool deserializeResponse(InputStream stream, TLContext context) throws IOException
deserializeResponse in class TLMethod<TLBool>IOExceptionpublic long getFileId()
public void setFileId(long value)
value - the valuepublic int getFilePart()
public void setFilePart(int value)
value - the valuepublic TLBytes getBytes()
public void setBytes(TLBytes value)
value - the valuepublic 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 © 2016. All rights reserved.