public class TLRequestAccountSendConfirmPhoneCode extends TLMethod<TLSentCode>
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID |
| Constructor and Description |
|---|
TLRequestAccountSendConfirmPhoneCode() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowFlashCalls() |
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
TLSentCode |
deserializeResponse(InputStream stream,
TLContext context) |
int |
getClassId()
Getting TL Class identification
|
int |
getFlags() |
String |
getHash() |
boolean |
isCurrentNumber() |
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setCurrentNumber(boolean currentNumber) |
void |
setFlags(int flags) |
void |
setHash(String hash) |
String |
toString()
Custom toString method
|
castResponse, deserializeResponsedeserialize, serialize, serializepublic static final int CLASS_ID
public TLRequestAccountSendConfirmPhoneCode()
public int getClassId()
TLObjectgetClassId in class TLObjectpublic int getFlags()
public void setFlags(int flags)
public String getHash()
public void setHash(String hash)
public boolean isCurrentNumber()
public void setCurrentNumber(boolean currentNumber)
public boolean allowFlashCalls()
public TLSentCode deserializeResponse(InputStream stream, TLContext context) throws IOException
deserializeResponse in class TLMethod<TLSentCode>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 contextIOExceptionCopyright © 2017. All rights reserved.