public class TLRequestMessagesSetBotCallbackAnswer extends TLMethod<TLBool>
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
| Constructor and Description |
|---|
TLRequestMessagesSetBotCallbackAnswer()
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
|
TLBool |
deserializeResponse(InputStream stream,
TLContext context) |
int |
getClassId()
Getting TL Class identification
|
int |
getFlags() |
String |
getMessage() |
long |
getQueryId() |
String |
getUrl() |
boolean |
hasAlert() |
boolean |
hasUrl() |
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setMessage(String message) |
void |
setQueryId(long queryId) |
void |
setUrl(String url) |
String |
toString()
Custom toString method
|
castResponse, deserializeResponsedeserialize, serialize, serializepublic static final int CLASS_ID
public TLRequestMessagesSetBotCallbackAnswer()
public int getClassId()
TLObjectgetClassId in class TLObjectpublic TLBool deserializeResponse(InputStream stream, TLContext context) throws IOException
deserializeResponse in class TLMethod<TLBool>IOExceptionpublic int getFlags()
public long getQueryId()
public String getMessage()
public boolean hasAlert()
public void setQueryId(long queryId)
public void setMessage(String message)
public String getUrl()
public void setUrl(String url)
public boolean hasUrl()
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.