telegram api method · layer 229 · #cb9deff6

auth.reportMissingCode

usable by users

Official apps only, reports that the SMS authentication code wasn't delivered.

definition

auth.reportMissingCode#cb9deff6 phone_number:string phone_code_hash:string mnc:string = Bool;

parameters

nametypedescription
phone_numberstringPhone number where we were supposed to receive the code
phone_code_hashstringThe phone code hash obtained from auth.sendCode
mncstringMNC of the current network operator.

returns

Bool

errors (2)

codeerrordescription
400BUSINESS_CONNECTION_NOT_ALLOWEDThis method was invoked over a business connection using invokeWithBusinessConnection, but either (1) we're a user, and users cannot invoke methods over a business connection; (2) we're a bot, but business mode was disabled in @botfather or (3); we're a bot, but this method cannot be invoked over a business connection.
400PHONE_NUMBER_INVALIDThe phone number is invalid.

history

present in layers 179–229

idlayers
#cb9deff6179–229