auth.cancelCode

Cancel the login verification code

 Method schema is available as of layer 50. Switch ยป

Parameters

Name Type Description
phone_number string Phone number
phone_code_hash string Phone code hash from auth.sendCode

Result

Bool

Possible errors

Code Type Description
400 PHONE_CODE_EXPIRED The phone code you provided has expired.
406 PHONE_NUMBER_INVALID The phone number is invalid.

Related pages

auth.sendCode

Send the verification code for login