Layer 220
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

Gogram Example

// Creating AuthSentCodeTypeSetUpEmailRequired constructor
obj := &tg.AuthSentCodeTypeSetUpEmailRequired{

    // Optional fields:
    // AppleSigninAllowed: true,
    // GoogleSigninAllowed: true,
}