account.verifyPhone
Verify a phone number for telegram passport.
Verify a phone number for telegram [passport](https://core.telegram.org/passport.md).
| Name | Type | Required | Description |
|---|---|---|---|
phone_number | string | Yes | Phone number |
phone_code_hash | string | Yes | Phone code hash received from the call to [account.sendVerifyPhoneCode](https://core.telegram.org/method/account.sendVerifyPhoneCode.md) |
phone_code | string | Yes | Code received after the call to [account.sendVerifyPhoneCode](https://core.telegram.org/method/account.sendVerifyPhoneCode.md) |
Responses
Bool
MTProto RPC
- 400 · PHONE_CODE_EMPTY — phone_code is missing.
- 400 · PHONE_CODE_EXPIRED — The phone code you provided has expired.
- 400 · PHONE_NUMBER_INVALID — The phone number is invalid.