telegram api method · layer 229 · #cb9deff6
auth.reportMissingCode
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
| name | type | description |
|---|---|---|
phone_number | string | Phone number where we were supposed to receive the code |
phone_code_hash | string | The phone code hash obtained from auth.sendCode |
mnc | string | MNC of the current network operator. |
returns
errors (2)
| code | error | description |
|---|---|---|
| 400 | BUSINESS_CONNECTION_NOT_ALLOWED | This 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. |
| 400 | PHONE_NUMBER_INVALID | The phone number is invalid. |
history
present in layers 179–229
| id | layers |
|---|---|
| #cb9deff6 | 179–229 |