account.verifyPhone
Verify a phone number for telegram passport.
Verify a phone number for telegram [passport](https://core.telegram.org/passport.md).
| الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|
phone_number | string | أيوه | رقم الهاتف |
phone_code_hash | string | أيوه | Phone code hash received from the call to [account.sendVerifyPhoneCode](https://core.telegram.org/method/account.sendVerifyPhoneCode.md) |
phone_code | string | أيوه | Code received after the call to [account.sendVerifyPhoneCode](https://core.telegram.org/method/account.sendVerifyPhoneCode.md) |
الردود
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.