public static class TdApi.AuthorizationStateWaitPassword extends TdApi.AuthorizationState
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
boolean |
hasPassportData
True, if some Telegram Passport elements were saved.
|
boolean |
hasRecoveryEmailAddress
True, if a recovery email address has been set up.
|
java.lang.String |
passwordHint
Hint for the password; may be empty.
|
java.lang.String |
recoveryEmailAddressPattern
Pattern of the email address to which the recovery email was sent; empty until a recovery email has been sent.
|
| Constructor and Description |
|---|
AuthorizationStateWaitPassword()
The user has been authorized, but needs to enter a 2-step verification password to start using the application.
|
AuthorizationStateWaitPassword(java.lang.String passwordHint,
boolean hasRecoveryEmailAddress,
boolean hasPassportData,
java.lang.String recoveryEmailAddressPattern)
The user has been authorized, but needs to enter a 2-step verification password to start using the application.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String passwordHint
public boolean hasRecoveryEmailAddress
public boolean hasPassportData
public java.lang.String recoveryEmailAddressPattern
public static final int CONSTRUCTOR
public AuthorizationStateWaitPassword()
public AuthorizationStateWaitPassword(java.lang.String passwordHint,
boolean hasRecoveryEmailAddress,
boolean hasPassportData,
java.lang.String recoveryEmailAddressPattern)
passwordHint - Hint for the password; may be empty.hasRecoveryEmailAddress - True, if a recovery email address has been set up.hasPassportData - True, if some Telegram Passport elements were saved.recoveryEmailAddressPattern - Pattern of the email address to which the recovery email was sent; empty until a recovery email has been sent.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object