auth.ResendCode

class hydrogram.raw.functions.auth.ResendCode[source]

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

Details:
  • Layer: 181

  • ID: CAE47523

Parameters:
  • phone_number (str) – The phone number

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

  • reason (str, optional)

Returns:

auth.SentCode