auth.recoverPassword
Reset the 2FA password using the recovery code sent using auth.requestPasswordRecovery.
Example
TL schema
Parameters
Name
Type
Description
code
Code received via email
Result
Possible errors
Code
Type
Description
400
CODE_EMPTY
The provided code is empty
Can bots use this methd ?
yes
Related pages
How to login to a user's account if they have enabled 2FA, how to change password.
Request recovery code of a 2FA password, only for accounts with a recovery email configured.
Last updated