MadelineProtoDocs/docs/API_docs/constructors/auth.authorizationSignUpRequired.md
2019-12-27 18:46:25 +01:00

1.3 KiB

title: auth.authorizationSignUpRequired description: An account with this phone number doesn't exist on telegram: the user has to enter basic information and sign up image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png redirect_from: /API_docs/constructors/auth_authorizationSignUpRequired.html

Constructor: auth.authorizationSignUpRequired

Back to constructors index

An account with this phone number doesn't exist on telegram: the user has to enter basic information and sign up

Attributes:

Name Type Required Description
terms_of_service help.TermsOfService Optional Telegram's terms of service: the user must read and accept the terms of service before signing up to telegram

Type: auth.Authorization

Example:

$auth.authorizationSignUpRequired = ['_' => 'auth.authorizationSignUpRequired', 'terms_of_service' => help.TermsOfService];

Or, if you're into Lua:

auth.authorizationSignUpRequired={_='auth.authorizationSignUpRequired', terms_of_service=help.TermsOfService}