An account with this phone number doesn’t exist on telegram: the user has to enter basic information and sign up.
Constructor type of
help.TermsOfService, optional) – Telegram’s terms of service: the user must read and accept the terms of service before signing up to telegram.
This object can be returned by 6 methods:
Registers a validated phone number in the system.
Signs in a user with a validated phone number.
Logs in a user using a key transmitted from his native data-centre.
Login as a bot.
Try logging to an account protected by a 2FA password.
Reset the 2FA password using the recovery code sent using auth.requestPasswordRecovery.