auth.ResendCode#

class pyrogram.raw.functions.auth.ResendCode#

Resend the login code via another medium, the phone code type is determined by the return value of the previous auth.sendCode/auth.resendCode.

Details:
  • Layer: 158

  • ID: 3EF1A9BF

Parameters:
  • phone_number (str) – The phone number.

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

Returns:

auth.SentCode