auth.Authorization

class pyrogram.raw.types.auth.Authorization

Telegram API type.

Constructor of Authorization.

Details:
  • Layer: 194

  • ID: 2EA2C0D4

Parameters:
  • user (User) – N/A

  • setup_password_required (bool, optional) – N/A

  • otherwise_relogin_days (int 32-bit, optional) – N/A

  • tmp_sessions (int 32-bit, optional) – N/A

  • future_auth_token (bytes, optional) – N/A

Functions:

This object can be returned by 7 functions.

auth.SignUp

Telegram API function.

auth.SignIn

Telegram API function.

auth.ImportAuthorization

Telegram API function.

auth.ImportBotAuthorization

Telegram API function.

auth.CheckPassword

Telegram API function.

auth.RecoverPassword

Telegram API function.

auth.ImportWebTokenAuthorization

Telegram API function.