public class TLRequestMessagesGetDhConfig extends TLMethod<TLAbsDhConfig>
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
| Constructor and Description |
|---|
TLRequestMessagesGetDhConfig()
Instantiates a new TL request messages get dh config.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
TLAbsDhConfig |
deserializeResponse(InputStream stream,
TLContext context) |
int |
getClassId()
Getting TL Class identification
|
int |
getRandomLength()
Gets random length.
|
int |
getVersion()
Gets version.
|
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setRandomLength(int value)
Sets random length.
|
void |
setVersion(int value)
Sets version.
|
String |
toString()
Custom toString method
|
castResponse, deserializeResponsedeserialize, serialize, serializepublic static final int CLASS_ID
public TLRequestMessagesGetDhConfig()
public int getClassId()
TLObjectgetClassId in class TLObjectpublic TLAbsDhConfig deserializeResponse(InputStream stream, TLContext context) throws IOException
deserializeResponse in class TLMethod<TLAbsDhConfig>IOExceptionpublic int getVersion()
public void setVersion(int value)
value - the valuepublic int getRandomLength()
public void setRandomLength(int 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 © 2016. All rights reserved.