View Source ExTDLib.Method.RecoverAuthenticationPassword (ExTDLib v0.0.4)

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. Returns object_ptr<Ok>.

NameTypeDescription
recovery_codestringRecovery code to check.
new_passwordstringNew 2-step verification password of the user; may be empty to remove the password.
new_hintstringNew password hint; may be empty.

More details on telegram's documentation.