MadelineProtoDocs/docs/API_docs/constructors/auth.passwordRecovery.md
2024-05-01 14:53:46 +02:00

1.0 KiB

title description nav_exclude image redirect_from
auth.passwordRecovery Recovery info of a 2FA password, only for accounts with a recovery email configured. true 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'];