public class TLRequestMessagesSendEncryptedService extends TLMethod<TLAbsSentEncryptedMessage>
Modifier and Type | Field and Description |
---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
Constructor and Description |
---|
TLRequestMessagesSendEncryptedService()
Instantiates a new TL request messages send encrypted service.
|
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.
|
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 |
setPeer(TLInputEncryptedChat value)
Sets peer.
|
void |
setRandomId(long value)
Sets random id.
|
String |
toString()
Custom toString method
|
castResponse, deserializeResponse
deserialize, serialize, serialize
public static final int CLASS_ID
public TLRequestMessagesSendEncryptedService()
public int getClassId()
TLObject
getClassId
in class TLObject
public TLAbsSentEncryptedMessage deserializeResponse(InputStream stream, TLContext context) throws IOException
deserializeResponse
in class TLMethod<TLAbsSentEncryptedMessage>
IOException
public 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 void serializeBody(OutputStream stream) throws IOException
TLObject
serializeBody
in class TLObject
stream
- destination streamIOException
public void deserializeBody(InputStream stream, TLContext context) throws IOException
TLObject
deserializeBody
in class TLObject
stream
- source streamcontext
- tl contextIOException
Copyright © 2017. All rights reserved.