public class TLRequestAccountUpdatePasswordSettings extends TLMethod<TLBool>
Modifier and Type | Field and Description |
---|---|
static int |
CLASS_ID
The constant CLASS_ID.
|
Constructor and Description |
---|
TLRequestAccountUpdatePasswordSettings()
Instantiates a new TL request account update password settings.
|
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
|
TLBytes |
getCurrentPasswordHash()
Gets current password hash.
|
TLAccountPasswordInputSettings |
getNewSettings()
Gets new settings.
|
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setCurrentPasswordHash(TLBytes currentPasswordHash)
Sets current password hash.
|
void |
setNewSettings(TLAccountPasswordInputSettings newSettings)
Sets new settings.
|
String |
toString()
Custom toString method
|
castResponse, deserializeResponse
deserialize, serialize, serialize
public static final int CLASS_ID
public TLRequestAccountUpdatePasswordSettings()
public int getClassId()
TLObject
getClassId
in class TLObject
public TLBytes getCurrentPasswordHash()
public void setCurrentPasswordHash(TLBytes currentPasswordHash)
currentPasswordHash
- the current password hashpublic TLAccountPasswordInputSettings getNewSettings()
public void setNewSettings(TLAccountPasswordInputSettings newSettings)
newSettings
- the new settingspublic TLBool deserializeResponse(InputStream stream, TLContext context) throws IOException
deserializeResponse
in class TLMethod<TLBool>
IOException
public void serializeBody(OutputStream stream) throws IOException
TLObject
serializeBody
in class TLObject
stream
- destination streamIOException
public void deserializeBody(InputStream stream, TLContext context) throws IOException
TLObject
deserializeBody
in class TLObject
stream
- source streamcontext
- tl contextIOException
Copyright © 2017. All rights reserved.