Authorization

class pyrogram.api.types.Authorization(*, hash: int, device_model: str, platform: str, system_version: str, api_id: int, app_name: str, app_version: str, date_created: int, date_active: int, ip: str, country: str, region: str, current: bool = None, official_app: bool = None, password_pending: bool = None)
ID

0xad01d61d

Parameters:
  • hashint 64-bit
  • device_modelstr
  • platformstr
  • system_versionstr
  • api_idint 32-bit
  • app_namestr
  • app_versionstr
  • date_createdint 32-bit
  • date_activeint 32-bit
  • ipstr
  • countrystr
  • regionstr
  • current (optional) – bool
  • official_app (optional) – bool
  • password_pending (optional) – bool