auth.SignUp#

class pyrogram.raw.functions.auth.SignUp#

Registers a validated phone number in the system.

Details:
  • Layer: 158

  • ID: 80EEE427

Parameters:
  • phone_number (str) – Phone number in the international format.

  • phone_code_hash (str) – SMS-message ID.

  • first_name (str) – New user first name.

  • last_name (str) – New user last name.

Returns:

auth.Authorization