auth.sendCall

Makes a voice call to the passed phone number. A robot will repeat the confirmation code from a previously sent SMS message.

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
auth.sendCall#3c51564 phone_number:string phone_code_hash:string = Bool;

Parameters

phone_number string Phone number in the international format
phone_code_hash string SMS-message ID

Result

Bool

Query example

(auth.sendCall "79991234567" "2dc02d2cda9e615c84")
=
(boolTrue)

03c51564 3939370b 33323139 37363534 63643212 32643230 39616463 35313665 00343863 64e1a61b
=
997275b5

Return errors

Code Type Description
400 BAD_REQUEST PHONE_NUMBER_INVALID Invalid phone number
400 BAD_REQUEST PHONE_CODE_HASH_EMPTY phone_code_hash was not sent
400 BAD_REQUEST PHONE_CODE_EXPIRED SMS expired