auth.AuthorizationSignUpRequired

class pyrogram.raw.types.auth.AuthorizationSignUpRequired

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

Constructor of Authorization.

Details:
  • Layer: 223

  • ID: 44747E9A

Parameters:

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

Functions:

This object can be returned by 8 functions.

auth.SignUp

Registers a validated phone number in the system.

auth.SignIn

Signs in a user with a validated phone number.

auth.ImportAuthorization

Logs in a user using a key transmitted from his native data-center.

auth.ImportBotAuthorization

Login as a bot

auth.CheckPassword

Try logging to an account protected by a 2FA password.

auth.RecoverPassword

Reset the 2FA password using the recovery code sent using auth.requestPasswordRecovery.

auth.ImportWebTokenAuthorization

Login by importing an authorization token

auth.FinishPasskeyLogin

{schema}

TL Schema

auth.authorizationSignUpRequired#44747e9a
flags:#
terms_of_service:flags.0?help.TermsOfService

= auth.Authorization

Parameter Tree

AuthorizationSignUpRequired
└── terms_of_servicehelp.TermsOfService (optional)
├── popuptrue (optional)
├── idDataJSON
│ └── DataJSON
│ └── datastring
├── textstring
├── entitiesVector < MessageEntity >
│ ├── MessageEntityUnknown
│ │ ├── offsetint
│ │ └── lengthint
│ ├── MessageEntityMention
│ │ ├── offsetint
│ │ └── lengthint
│ ├── MessageEntityHashtag
│ │ ├── offsetint
│ │ └── lengthint
│ │ ├── offsetint
│ │ └── lengthint
│ ├── MessageEntityUrl
│ │ ├── offsetint
│ │ └── lengthint
│ ├── MessageEntityEmail
│ │ ├── offsetint
│ │ └── lengthint
│ ├── MessageEntityBold
│ │ ├── offsetint
│ │ └── lengthint
│ ├── MessageEntityItalic
│ │ ├── offsetint
│ │ └── lengthint
│ ├── MessageEntityCode
│ │ ├── offsetint
│ │ └── lengthint
│ ├── MessageEntityPre
│ │ ├── offsetint
│ │ ├── lengthint
│ │ └── languagestring
│ ├── MessageEntityTextUrl
│ │ ├── offsetint
│ │ ├── lengthint
│ │ └── urlstring
│ │ ├── offsetint
│ │ ├── lengthint
│ │ └── user_idlong
│ │ ├── offsetint
│ │ ├── lengthint
│ │ └── user_idInputUser
│ │ ├── InputUserEmpty
│ │ ├── InputUserSelf
│ │ ├── InputUser
│ │ └── InputUserFromMessage
│ ├── MessageEntityPhone
│ │ ├── offsetint
│ │ └── lengthint
│ ├── MessageEntityCashtag
│ │ ├── offsetint
│ │ └── lengthint
│ │ ├── offsetint
│ │ └── lengthint
│ ├── MessageEntityStrike
│ │ ├── offsetint
│ │ └── lengthint
│ ├── MessageEntityBankCard
│ │ ├── offsetint
│ │ └── lengthint
│ ├── MessageEntitySpoiler
│ │ ├── offsetint
│ │ └── lengthint
│ │ ├── offsetint
│ │ ├── lengthint
│ │ └── document_idlong
│ │ ├── collapsedtrue (optional)
│ │ ├── offsetint
│ │ └── lengthint
│ ├── relativetrue (optional)
│ ├── short_timetrue (optional)
│ ├── long_timetrue (optional)
│ ├── short_datetrue (optional)
│ ├── long_datetrue (optional)
│ ├── day_of_weektrue (optional)
│ ├── offsetint
│ ├── lengthint
│ └── dateint
└── min_age_confirmint (optional)

Example

AuthorizationSignUpRequired(
)