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
AppleSigninAllowedboolWhether authorization through Apple ID is allowed
GoogleSigninAllowedboolWhether authorization through Google ID is allowed
EmailPatternstringyesPattern of the email
LengthintyesLength of the sent verification code
ResetAvailablePeriodintClients should wait for the specified amount of seconds before allowing the user to invoke auth.resetLoginEmail (will be 0 for Premium users).
ResetPendingDateintAn email reset was already requested, and will occur at the specified date.

References