ImportAuthorization

class pyrogram.raw.functions.auth.ImportAuthorization

Logs in a user using a key transmitted from his native data-centre.

Details
  • Layer: 126

  • ID: 0xe3ef9613

Parameters
  • id (int 32-bit) – User ID.

  • bytes (bytes) – Authorization key.

Returns

auth.Authorization – Oject contains info on user authorization.