public class TLRequestMessagesRequestEncryption extends TLMethod<TLAbsEncryptedChat>
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
| Constructor and Description |
|---|
TLRequestMessagesRequestEncryption()
Instantiates a new TL request messages request encryption.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
TLAbsEncryptedChat |
deserializeResponse(InputStream stream,
TLContext context) |
int |
getClassId()
Getting TL Class identification
|
TLBytes |
getGA()
Gets gA.
|
int |
getRandomId()
Gets random id.
|
TLAbsInputUser |
getUserId()
Gets user id.
|
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setGA(TLBytes value)
Sets gA.
|
void |
setRandomId(int value)
Sets random id.
|
void |
setUserId(TLAbsInputUser value)
Sets user id.
|
String |
toString()
Custom toString method
|
castResponse, deserializeResponsedeserialize, serialize, serializepublic static final int CLASS_ID
public TLRequestMessagesRequestEncryption()
public int getClassId()
TLObjectgetClassId in class TLObjectpublic TLAbsEncryptedChat deserializeResponse(InputStream stream, TLContext context) throws IOException
deserializeResponse in class TLMethod<TLAbsEncryptedChat>IOExceptionpublic TLAbsInputUser getUserId()
public void setUserId(TLAbsInputUser value)
value - the valuepublic int getRandomId()
public void setRandomId(int value)
value - the valuepublic TLBytes getGA()
public void setGA(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 © 2017. All rights reserved.