Layer 220
AuthAuthorizationSignUpRequired
An account with this phone number doesn't exist on telegram: the user has to enter basic information and sign up
constructor
auth.authorizationSignUpRequired#44747e9a flags:# terms_of_service:flags.0?help.TermsOfService = auth.Authorization;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| TermsOfService | flags.0?help.TermsOfService | Telegram's terms of service: the user must read and accept the terms of service before signing up to telegram |
Returns
auth.AuthorizationGogram Example
// Creating AuthAuthorizationSignUpRequired constructor obj := &tg.AuthAuthorizationSignUpRequired{ // Optional fields: // TermsOfService: nil, }