account.verifyPhone
Verifikasi nomor telepon untuk paspor telegram.
Verifikasi nomor telepon untuk telegram [paspor](https://core.telegram.org/passport.md).
| Nama | Ketik | Diperlukan | Deskripsi |
|---|---|---|---|
phone_number | string | Ya | Nomor telepon |
phone_code_hash | string | Ya | Hash kode telepon diterima dari panggilan ke [account.sendVerifyPhoneCode](https://core.telegram.org/method/account.sendVerifyPhoneCode.md) |
phone_code | string | Ya | Kode diterima setelah panggilan ke [account.sendVerifyPhoneCode](https://core.telegram.org/method/account.sendVerifyPhoneCode.md) |
Tanggapan
Bool
MTProto RPC
- 400 · PHONE_CODE_EMPTY — phone_code hilang.
- 400 · PHONE_CODE_EXPIRED — Kode telepon yang Anda berikan telah kedaluwarsa.
- 400 · PHONE_NUMBER_INVALID — Nomor telepon tidak valid.