telegram api constructor · layer 229 · #f450f59b

auth.sentCodeTypeEmailCode

The code was sent via the previously configured login email »

definition

auth.sentCodeTypeEmailCode#f450f59b flags:# apple_signin_allowed:flags.0?true google_signin_allowed:flags.1?true email_pattern:string length:int reset_available_period:flags.3?int reset_pending_date:flags.4?int = auth.SentCodeType;

parameters

nametypedescription
flags#Flags, see TL conditional fields
apple_signin_allowedflags.0?trueWhether authorization through Apple ID is allowed
google_signin_allowedflags.1?trueWhether authorization through Google ID is allowed
email_patternstringPattern of the email
lengthintLength of the sent verification code
reset_available_periodflags.3?intClients should wait for the specified amount of seconds before allowing the user to invoke auth.resetLoginEmail (will be 0 for Premium users).
reset_pending_dateflags.4?intAn email reset was already requested, and will occur at the specified date.

type

auth.SentCodeType · other constructors: auth.sentCodeTypeApp, auth.sentCodeTypeSms, auth.sentCodeTypeCall, auth.sentCodeTypeFlashCall, auth.sentCodeTypeMissedCall, auth.sentCodeTypeSetUpEmailRequired, auth.sentCodeTypeFragmentSms, auth.sentCodeTypeFirebaseSms, auth.sentCodeTypeSmsWord, auth.sentCodeTypeSmsPhrase

history

present in layers 145–229 · constructor id changed 1×

idlayers
#5a159841145–155
#f450f59b156–229