account.verifyPhone
Verify a phone number for telegram passport.
Verify a phone number for telegram [passport](https://core.telegram.org/passport.md).
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
phone_number | string | Ja | Telefonnummer |
phone_code_hash | string | Ja | Phone code hash received from the call to [account.sendVerifyPhoneCode](https://core.telegram.org/method/account.sendVerifyPhoneCode.md) |
phone_code | string | Ja | Code received after the call to [account.sendVerifyPhoneCode](https://core.telegram.org/method/account.sendVerifyPhoneCode.md) |
Antworten
Bool
MTProto RPC
- 400 · PHONE_CODE_EMPTY — phone_code fehlt.
- 400 · PHONE_CODE_EXPIRED – Der von Ihnen angegebene Telefoncode ist abgelaufen.
- 400 · PHONE_NUMBER_INVALID – Die Telefonnummer ist ungültig.