public class TLRequestMessagesSetBotPrecheckoutResults extends TLMethod<TLBool>
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID |
| Constructor and Description |
|---|
TLRequestMessagesSetBotPrecheckoutResults() |
| 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
|
String |
getError() |
long |
getQueryId() |
boolean |
hasError() |
boolean |
isSuccess() |
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setError(String error) |
void |
setQueryId(long queryId) |
void |
setSuccess(boolean success) |
String |
toString()
Custom toString method
|
castResponse, deserializeResponsedeserialize, serialize, serializepublic static final int CLASS_ID
public TLRequestMessagesSetBotPrecheckoutResults()
public long getQueryId()
public void setQueryId(long queryId)
public String getError()
public void setError(String error)
public boolean hasError()
public void setSuccess(boolean success)
public boolean isSuccess()
public TLBool deserializeResponse(InputStream stream, TLContext context) throws IOException
deserializeResponse in class TLMethod<TLBool>IOExceptionpublic 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.