recover_authentication_password


Description:

public async Ok recover_authentication_password (string recovery_code, string new_password, string new_hint) throws TDLibError

Recovers the 2-step verification password with a password recovery code sent to an email address that was previously set up. Works only when the current authorization state is authorizationStateWaitPassword

Parameters:

recovery_code

Recovery code to check

new_password

New 2-step verification password of the user; may be empty to remove the password

new_hint

New password hint; may be empty