Layer 220
AuthSentCodeTypeSetUpEmailRequired
The user should add and verify an email address in order to login as described here.
constructor
auth.sentCodeTypeSetUpEmailRequired#a5491dea flags:# apple_signin_allowed:flags.0?true google_signin_allowed:flags.1?true = auth.SentCodeType;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| AppleSigninAllowed | flags.0?true | Whether authorization through Apple ID is allowed |
| GoogleSigninAllowed | flags.1?true | Whether authorization through Google ID is allowed |
Returns
auth.SentCodeTypeGogram Example
// Creating AuthSentCodeTypeSetUpEmailRequired constructor obj := &tg.AuthSentCodeTypeSetUpEmailRequired{ // Optional fields: // AppleSigninAllowed: true, // GoogleSigninAllowed: true, }