Layer 220
method Users
auth.checkRecoveryPassword#d36bf79 code:string = Bool;

Parameters

Name Type Description
Code string Code received via email

Returns

Bool

Possible Errors

Code Type Description
400 CODE_EMPTY The provided code is empty.
400 PASSWORD_RECOVERY_EXPIRED The recovery code has expired.

Gogram Example

// AuthCheckRecoveryPassword - positional arguments
result, err := client.AuthCheckRecoveryPassword("...")
if err != nil {
    // handle error
}
// result is *tg.Bool