MadelineProtoDocs/old_docs/API_docs_v104/constructors/auth.authorizationSignUpRequired.md
2019-12-27 18:25:37 +01:00

1.2 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

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}