Authorization

class pyrogram.raw.types.Authorization

Telegram API type.

Constructor of Authorization.

Details:
  • Layer: 194

  • ID: AD01D61D

Parameters:
  • hash (int 64-bit) – N/A

  • device_model (str) – N/A

  • platform (str) – N/A

  • system_version (str) – N/A

  • api_id (int 32-bit) – N/A

  • app_name (str) – N/A

  • app_version (str) – N/A

  • date_created (int 32-bit) – N/A

  • date_active (int 32-bit) – N/A

  • ip (str) – N/A

  • country (str) – N/A

  • region (str) – N/A

  • current (bool, optional) – N/A

  • official_app (bool, optional) – N/A

  • password_pending (bool, optional) – N/A

  • encrypted_requests_disabled (bool, optional) – N/A

  • call_requests_disabled (bool, optional) – N/A

  • unconfirmed (bool, optional) – N/A

Functions:

This object can be returned by 1 function.

auth.AcceptLoginToken

Telegram API function.