public class TLRequestMessagesSendEncryptedFile extends TLMethod<TLAbsSentEncryptedMessage>
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
| Constructor and Description |
|---|
TLRequestMessagesSendEncryptedFile()
Instantiates a new TL request messages send encrypted file.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
TLAbsSentEncryptedMessage |
deserializeResponse(InputStream stream,
TLContext context) |
int |
getClassId()
Getting TL Class identification
|
TLBytes |
getData()
Gets data.
|
TLAbsInputEncryptedFile |
getFile()
Gets file.
|
TLInputEncryptedChat |
getPeer()
Gets peer.
|
long |
getRandomId()
Gets random id.
|
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setData(TLBytes value)
Sets data.
|
void |
setFile(TLAbsInputEncryptedFile value)
Sets file.
|
void |
setPeer(TLInputEncryptedChat value)
Sets peer.
|
void |
setRandomId(long value)
Sets random id.
|
String |
toString()
Custom toString method
|
castResponse, deserializeResponsedeserialize, serialize, serializepublic static final int CLASS_ID
public TLRequestMessagesSendEncryptedFile()
public int getClassId()
TLObjectgetClassId in class TLObjectpublic TLAbsSentEncryptedMessage deserializeResponse(InputStream stream, TLContext context) throws IOException
deserializeResponse in class TLMethod<TLAbsSentEncryptedMessage>IOExceptionpublic TLInputEncryptedChat getPeer()
public void setPeer(TLInputEncryptedChat value)
value - the valuepublic long getRandomId()
public void setRandomId(long value)
value - the valuepublic TLBytes getData()
public void setData(TLBytes value)
value - the valuepublic TLAbsInputEncryptedFile getFile()
public void setFile(TLAbsInputEncryptedFile 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 © 2017. All rights reserved.