Class TdApi.AuthorizationStateWaitPassword
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.AuthorizationState
dev.voroby.springframework.telegram.client.TdApi.AuthorizationStateWaitPassword
- Enclosing class:
- TdApi
The user has been authorized, but needs to enter a 2-step verification password to start using the application. Call checkAuthenticationPassword to provide the password, or requestAuthenticationPasswordRecovery to recover the password, or deleteAccount to delete the account after a week.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Identifier uniquely determining type of the object.boolean
True, if some Telegram Passport elements were saved.boolean
True, if a recovery email address has been set up.Hint for the password; may be empty.Pattern of the email address to which the recovery email was sent; empty until a recovery email has been sent. -
Constructor Summary
ConstructorDescriptionThe user has been authorized, but needs to enter a 2-step verification password to start using the application.AuthorizationStateWaitPassword
(String passwordHint, boolean hasRecoveryEmailAddress, boolean hasPassportData, String recoveryEmailAddressPattern) The user has been authorized, but needs to enter a 2-step verification password to start using the application. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
toString
-
Field Details
-
passwordHint
Hint for the password; may be empty. -
hasRecoveryEmailAddress
public boolean hasRecoveryEmailAddressTrue, if a recovery email address has been set up. -
hasPassportData
public boolean hasPassportDataTrue, 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. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
AuthorizationStateWaitPassword
public AuthorizationStateWaitPassword()The user has been authorized, but needs to enter a 2-step verification password to start using the application. Call checkAuthenticationPassword to provide the password, or requestAuthenticationPasswordRecovery to recover the password, or deleteAccount to delete the account after a week. -
AuthorizationStateWaitPassword
public AuthorizationStateWaitPassword(String passwordHint, boolean hasRecoveryEmailAddress, boolean hasPassportData, String recoveryEmailAddressPattern) The user has been authorized, but needs to enter a 2-step verification password to start using the application. Call checkAuthenticationPassword to provide the password, or requestAuthenticationPasswordRecovery to recover the password, or deleteAccount to delete the account after a week.- Parameters:
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.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-