auth.sentCodeTypeEmailCode
The code was sent via the previously configured login email »
type tg.AuthSentCodeTypeEmailCode struct { /* ... */ }
Implements auth.SentCodeType.
Fields
| Name | Type | Required | Description |
|---|---|---|---|
AppleSigninAllowed | bool | — | Whether authorization through Apple ID is allowed |
GoogleSigninAllowed | bool | — | Whether authorization through Google ID is allowed |
EmailPattern | string | yes | Pattern of the email |
Length | int | yes | Length of the sent verification code |
ResetAvailablePeriod | int | — | Clients should wait for the specified amount of seconds before allowing the user to invoke auth.resetLoginEmail (will be 0 for Premium users). |
ResetPendingDate | int | — | An email reset was already requested, and will occur at the specified date. |
References
- Official documentation
- Generated Go reference
- TL definition:
auth.sentCodeTypeEmailCode#f450f59b