mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
1.0 KiB
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
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'];