Layer 220
method Users
auth.checkPassword#d18b4d16 password:InputCheckPasswordSRP = auth.Authorization;

Parameters

Name Type Description
Password InputCheckPasswordSRP The account's password (see SRP )

Possible Errors

Code Type Description
500 AUTH_KEY_UNSYNCHRONIZED Internal error, please repeat the method call.
400 PASSWORD_HASH_INVALID The provided password hash is invalid.
400 SRP_ID_INVALID Invalid SRP ID provided.
400 SRP_PASSWORD_CHANGED Password has changed.

Gogram Example

// AuthCheckPassword - positional arguments
result, err := client.AuthCheckPassword(&tg.InputCheckPasswordSrp{})
if err != nil {
    // handle error
}
// result is *tg.AuthAuthorization