public class TLRequestMessagesAcceptEncryption extends TLMethod<TLAbsEncryptedChat>
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
| Constructor and Description |
|---|
TLRequestMessagesAcceptEncryption()
Instantiates a new TL request messages accept 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 |
getGB()
Gets gB.
|
long |
getKeyFingerprint()
Gets key fingerprint.
|
TLInputEncryptedChat |
getPeer()
Gets peer.
|
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setGB(TLBytes value)
Sets gB.
|
void |
setKeyFingerprint(long value)
Sets key fingerprint.
|
void |
setPeer(TLInputEncryptedChat value)
Sets peer.
|
String |
toString()
Custom toString method
|
castResponse, deserializeResponsedeserialize, serialize, serializepublic static final int CLASS_ID
public TLRequestMessagesAcceptEncryption()
public int getClassId()
TLObjectgetClassId in class TLObjectpublic TLAbsEncryptedChat deserializeResponse(InputStream stream, TLContext context) throws IOException
deserializeResponse in class TLMethod<TLAbsEncryptedChat>IOExceptionpublic TLInputEncryptedChat getPeer()
public void setPeer(TLInputEncryptedChat value)
value - the valuepublic TLBytes getGB()
public void setGB(TLBytes value)
value - the valuepublic long getKeyFingerprint()
public void setKeyFingerprint(long 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.