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, deserializeResponse
deserialize, serialize, serialize
public static final int CLASS_ID
public TLDataJSON deserializeResponse(InputStream stream, TLContext context) throws IOException
deserializeResponse
in class TLMethod<TLDataJSON>
IOException
public String getCustomMethod()
public void setCustomMethod(String customMethod)
public TLDataJSON getParams()
public void setParams(TLDataJSON params)
public 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
public int getClassId()
TLObject
getClassId
in class TLObject
Copyright © 2017. All rights reserved.