Skip to main content

auth.sentCodeTypeEmailCode

The code was sent via the previously configured login email »

type tg.AuthSentCodeTypeEmailCode struct { /* ... */ }

Implements auth.SentCodeType.

Fields​

NameTypeRequiredDescription
AppleSigninAllowedbool—Whether authorization through Apple ID is allowed
GoogleSigninAllowedbool—Whether authorization through Google ID is allowed
EmailPatternstringyesPattern of the email
LengthintyesLength of the sent verification code
ResetAvailablePeriodint—Clients should wait for the specified amount of seconds before allowing the user to invoke auth.resetLoginEmail (will be 0 for Premium users).
ResetPendingDateint—An email reset was already requested, and will occur at the specified date.

References​