public class TLAccountPassword extends TLAbsAccountPassword
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_ID
The constant CLASS_ID of this class.
|
emailUnconfirmedPattern, newSalt| Constructor and Description |
|---|
TLAccountPassword()
Instantiates a new TL account password.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeBody(InputStream stream,
TLContext context)
Deserializing object from stream and context
|
int |
getClassId()
Getting TL Class identification
|
TLBytes |
getCurrentSalt()
Gets current salt.
|
String |
getHint()
Gets hint.
|
boolean |
isHasRecovery()
If the account has recovery enabled.
|
void |
serializeBody(OutputStream stream)
Serializing object body to stream
|
void |
setCurrentSalt(TLBytes currentSalt)
Sets current salt.
|
void |
setHasRecovery(boolean hasRecovery)
Sets if the account has revocery enabled.
|
void |
setHint(String hint)
Sets hint.
|
String |
toString()
Custom toString method
|
getEmailUnconfirmedPattern, getNewSalt, setEmailUnconfirmedPattern, setNewSaltdeserialize, serialize, serializepublic static final int CLASS_ID
public TLAccountPassword()
public int getClassId()
TLObjectgetClassId in class TLObjectpublic TLBytes getCurrentSalt()
public void setCurrentSalt(TLBytes currentSalt)
currentSalt - the current saltpublic String getHint()
public void setHint(String hint)
hint - the hintpublic boolean isHasRecovery()
public void setHasRecovery(boolean hasRecovery)
hasRecovery - the has recoverypublic 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.