public class TLRequestBotsSendCustomRequest extends TLMethod<TLDataJSON>
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID |
| Constructor and Description |
|---|
TLRequestBotsSendCustomRequest() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
TLDataJSON |
deserializeResponse(InputStream stream,
TLContext context) |
int |
getClassId()
Getting TL Class identification
|
String |
getCustomMethod() |
TLDataJSON |
getParams() |
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setCustomMethod(String customMethod) |
void |
setParams(TLDataJSON params) |
String |
toString()
Custom toString method
|
castResponse, deserializeResponsedeserialize, serialize, serializepublic static final int CLASS_ID
public TLDataJSON deserializeResponse(InputStream stream, TLContext context) throws IOException
deserializeResponse in class TLMethod<TLDataJSON>IOExceptionpublic String getCustomMethod()
public void setCustomMethod(String customMethod)
public TLDataJSON getParams()
public void setParams(TLDataJSON params)
public 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 contextIOExceptionpublic int getClassId()
TLObjectgetClassId in class TLObjectCopyright © 2017. All rights reserved.