public class TLRequestAccountGetPasswordSettings extends TLMethod<TLAccountPasswordSettings>
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
| Constructor and Description |
|---|
TLRequestAccountGetPasswordSettings()
Instantiates a new TL request account get password settings.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
TLAccountPasswordSettings |
deserializeResponse(InputStream stream,
TLContext context) |
int |
getClassId()
Getting TL Class identification
|
TLBytes |
getCurrentPasswordHash()
Gets current password hash.
|
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setCurrentPasswordHash(TLBytes currentPasswordHash)
Sets current password hash.
|
String |
toString()
Custom toString method
|
castResponse, deserializeResponsedeserialize, serialize, serializepublic static final int CLASS_ID
public TLRequestAccountGetPasswordSettings()
public int getClassId()
TLObjectgetClassId in class TLObjectpublic TLAccountPasswordSettings deserializeResponse(InputStream stream, TLContext context) throws IOException
deserializeResponse in class TLMethod<TLAccountPasswordSettings>IOExceptionpublic TLBytes getCurrentPasswordHash()
public void setCurrentPasswordHash(TLBytes currentPasswordHash)
currentPasswordHash - the current password hashpublic 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.