report_missing_code()

async Client.report_missing_code()

Report that the SMS authentication code was not delivered.

Usable by Users Bots
Parameters:
  • phone_number (str) – Phone number where the code was supposed to be delivered.

  • phone_code_hash (str) – The phone code hash obtained from send_code.

  • mnc (str) – Mobile Network Code (MNC) of the current network operator.

Returns:

bool – On success, True is returned.

Example

await app.report_missing_code("+1234567890", code_hash, "01")