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, deserializeResponse
deserialize, serialize, serialize
public static final int CLASS_ID
public TLRequestMessagesAcceptEncryption()
public int getClassId()
TLObject
getClassId
in class TLObject
public TLAbsEncryptedChat deserializeResponse(InputStream stream, TLContext context) throws IOException
deserializeResponse
in class TLMethod<TLAbsEncryptedChat>
IOException
public 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
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.