account.verifyPhone
التحقق من رقم الهاتف لجواز السفر برقية.
التحقق من رقم الهاتف للتيليجرام [passport](https://core.telegram.org/passport.md).
| الاسم | اكتب | مطلوب | الوصف |
|---|---|---|---|
phone_number | string | نعم | رقم الهاتف |
phone_code_hash | string | نعم | تم استلام تجزئة رمز الهاتف من المكالمة إلى [account.sendVerifyPhoneCode](https://core.telegram.org/method/account.sendVerifyPhoneCode.md) |
phone_code | string | نعم | تم استلام الرمز بعد الاتصال بـ [account.sendVerifyPhoneCode](https://core.telegram.org/method/account.sendVerifyPhoneCode.md) |
الردود
Bool
MTProto RPC
- 400 · PHONE_CODE_EMPTY — phone_code مفقود.
- 400 · PHONE_CODE_EXPIRED — انتهت صلاحية رمز الهاتف الذي قدمته.
- 400 · PHONE_NUMBER_INVALID — رقم الهاتف غير صالح.