UpdateNewAuthorization

class pyrogram.raw.types.UpdateNewAuthorization

A new session logged into the current user’s account through an unknown device.

Constructor of Update.

Details:
  • Layer: 187

  • ID: 8951ABEF

Parameters:
  • hash (int 64-bit) – Hash for pagination, for more info click here

  • unconfirmed (bool, optional) – Whether the session is unconfirmed, see here » for more info.

  • date (int 32-bit, optional) – Authorization date

  • device (str, optional) – Name of device, for example Android

  • location (str, optional) – Location, for example USA, NY (IP=1.2.3.4)