account.confirmPhone

Confirm a phone number to cancel account deletion, for more info click here »

 Method schema is available as of layer 54. Switch »

Parameters

Name Type Description
phone_code_hash string Phone code hash, for more info click here »
phone_code string SMS code, for more info click here »

Result

Bool

Possible errors

Code Type Description
400 CODE_HASH_INVALID Code hash invalid.
400 PHONE_CODE_EMPTY phone_code is missing.

Related pages

Account deletion

How to reset an account if the 2FA password was forgotten.

Наверх