auth.SentCodeTypeSetUpEmailRequired

class pyrogram.raw.types.auth.SentCodeTypeSetUpEmailRequired

The user should add and verify an email address in order to login as described here ».

Constructor of SentCodeType.

Details:
  • Layer: 223

  • ID: A5491DEA

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

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

TL Schema

auth.sentCodeTypeSetUpEmailRequired#a5491dea
flags:#
apple_signin_allowed:flags.0?true
google_signin_allowed:flags.1?true

= auth.SentCodeType

Parameter Tree

SentCodeTypeSetUpEmailRequired
├── apple_signin_allowedtrue (optional)
└── google_signin_allowedtrue (optional)

Example

SentCodeTypeSetUpEmailRequired(
)