1.1 KiB
1.1 KiB
title | description | image |
---|---|---|
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 |
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'];
Or, if you're into Lua:
auth.passwordRecovery={_='auth.passwordRecovery', email_pattern='string'}