public class TLRequestMessagesGetBotCallbackAnswer extends TLMethod<TLMessagesBotCallbackAnswer>
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
| Constructor and Description |
|---|
TLRequestMessagesGetBotCallbackAnswer()
Instantiates a new TL request channel edit admin
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
TLMessagesBotCallbackAnswer |
deserializeResponse(InputStream stream,
TLContext context) |
void |
enableGame(boolean enabled) |
int |
getClassId()
Getting TL Class identification
|
TLBytes |
getData() |
int |
getMsgId() |
TLAbsInputPeer |
getPeer() |
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setData(TLBytes data) |
void |
setMsgId(int msgId) |
void |
setPeer(TLAbsInputPeer peer) |
String |
toString()
Custom toString method
|
castResponse, deserializeResponsedeserialize, serialize, serializepublic static final int CLASS_ID
public TLRequestMessagesGetBotCallbackAnswer()
public int getClassId()
TLObjectgetClassId in class TLObjectpublic TLMessagesBotCallbackAnswer deserializeResponse(InputStream stream, TLContext context) throws IOException
deserializeResponse in class TLMethod<TLMessagesBotCallbackAnswer>IOExceptionpublic TLAbsInputPeer getPeer()
public int getMsgId()
public TLBytes getData()
public void setPeer(TLAbsInputPeer peer)
public void setMsgId(int msgId)
public void setData(TLBytes data)
public void enableGame(boolean enabled)
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 contextIOExceptionCopyright © 2016. All rights reserved.