Makes a voice call to the passed phone number. A robot will repeat the confirmation code from a previously sent SMS message.
{schema}
Name | Type | Description |
---|---|---|
phone_number | string | Phone number in the international format |
phone_code_hash | string | SMS-message ID |
(auth.sendCall "79991234567" "2dc02d2cda9e615c84")
=
(boolTrue)
03c51564 3939370b 33323139 37363534 63643212 32643230 39616463 35313665 00343863 64e1a61b
=
997275b5
Code | Type | Description |
---|---|---|
400 | PHONE_NUMBER_INVALID | Invalid phone number |
400 | PHONE_CODE_HASH_EMPTY | phone_code_hash was not sent |
400 | PHONE_CODE_EXPIRED | SMS expired |