account.EmailVerifiedLogin

class pyrogram.raw.types.account.EmailVerifiedLogin

The email was verified correctly, and a login code was just sent to it.

Constructor of EmailVerified.

Details:
  • Layer: 227

  • ID: E1BB0D61

Parameters:
  • email (str) – The verified email address.

  • sent_code (auth.SentCode) – Info about the sent login code

Functions:

This object can be returned by 1 function.

account.VerifyEmail

Verify an email address.

TL Schema

account.emailVerifiedLogin#e1bb0d61
email:string
sent_code:auth.SentCode

= account.EmailVerified

Parameter Tree

EmailVerifiedLogin
├── email → string
└── sent_code → auth.SentCode
├── auth.SentCode
│ ├── type → auth.SentCodeType
│ │ ├── auth.SentCodeTypeApp
│ │ │ └── length → int
│ │ ├── auth.SentCodeTypeSms
│ │ │ └── length → int
│ │ ├── auth.SentCodeTypeCall
│ │ │ └── length → int
│ │ ├── auth.SentCodeTypeFlashCall
│ │ │ └── pattern → string
│ │ ├── auth.SentCodeTypeMissedCall
│ │ │ ├── prefix → string
│ │ │ └── length → int
│ │ ├── auth.SentCodeTypeEmailCode
│ │ │ ├── apple_signin_allowed → true (optional)
│ │ │ ├── google_signin_allowed → true (optional)
│ │ │ ├── email_pattern → string
│ │ │ ├── length → int
│ │ │ ├── reset_available_period → int (optional)
│ │ │ └── reset_pending_date → int (optional)
│ │ │ ├── apple_signin_allowed → true (optional)
│ │ │ └── google_signin_allowed → true (optional)
│ │ │ ├── url → string
│ │ │ └── length → int
│ │ │ ├── nonce → bytes (optional)
│ │ │ ├── play_integrity_project_id → long (optional)
│ │ │ ├── play_integrity_nonce → bytes (optional)
│ │ │ ├── receipt → string (optional)
│ │ │ ├── push_timeout → int (optional)
│ │ │ └── length → int
│ │ ├── auth.SentCodeTypeSmsWord
│ │ │ └── beginning → string (optional)
│ │ └── auth.SentCodeTypeSmsPhrase
│ │ └── beginning → string (optional)
│ ├── phone_code_hash → string
│ ├── next_type → auth.CodeType (optional)
│ │ ├── auth.CodeTypeSms
│ │ ├── auth.CodeTypeCall
│ │ ├── auth.CodeTypeFlashCall
│ │ ├── auth.CodeTypeMissedCall
│ │ └── auth.CodeTypeFragmentSms
│ └── timeout → int (optional)
│ └── authorization → auth.Authorization
│ ├── auth.Authorization
│ │ ├── setup_password_required → true (optional)
│ │ ├── otherwise_relogin_days → int (optional)
│ │ ├── tmp_sessions → int (optional)
│ │ ├── future_auth_token → bytes (optional)
│ │ └── user → User
│ │ ├── UserEmpty
│ │ └── User
│ └── terms_of_service → help.TermsOfService (optional)
│ └── help.TermsOfService
├── store_product → string
├── phone_code_hash → string
├── support_email_address → string
├── support_email_subject → string
├── premium_days → int
├── currency → string
└── amount → long

Example

EmailVerifiedLogin(
    email="text",
    sent_code=SentCode(
        type=SentCodeTypeApp(length=0),
        phone_code_hash="text"
    ),
)