MadelineProtoDocs/old_docs/API_docs_v27/constructors/auth.passwordRecovery.md
2019-12-27 18:46:25 +01:00

1.2 KiB

title description image redirect_from
auth.passwordRecovery Recovery info of a [2FA password](https://core.telegram.org/api/srp), only for accounts with a [recovery email configured](https://core.telegram.org/api/srp#email-verification). https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png /API_docs/constructors/auth_passwordRecovery.html

Constructor: auth.passwordRecovery

Back to constructors index

Recovery info of a 2FA password, only for accounts with a recovery email configured.

Attributes:

Name Type Required Description
email_pattern string Yes The email to which the recovery code was sent must match this pattern.

Type: auth.PasswordRecovery

Example:

$auth.passwordRecovery = ['_' => 'auth.passwordRecovery', 'email_pattern' => 'string'];

Or, if you're into Lua:

auth.passwordRecovery={_='auth.passwordRecovery', email_pattern='string'}