auth.SentCodeTypeEmailCode#

class pyrogram.raw.types.auth.SentCodeTypeEmailCode#

The code was sent via the previously configured login email.

Constructor of SentCodeType.

Details:
  • Layer: 158

  • ID: F450F59B

Parameters:
  • email_pattern (str) – Pattern of the email.

  • length (int 32-bit) – Length of the sent verification code.

  • apple_signin_allowed (bool, optional) – Whether authorization through Apple ID is allowed.

  • google_signin_allowed (bool, optional) – Whether authorization through Google ID is allowed.

  • reset_available_period (int 32-bit, optional) – Clients should wait for the specified amount of seconds before allowing the user to invoke auth.resetLoginEmail (will be 0 for Premium users).

  • reset_pending_date (int 32-bit, optional) – An email reset was already requested, and will occur at the specified date.