auth.ImportAuthorization#

class pyrogram.raw.functions.auth.ImportAuthorization#

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

Details:
  • Layer: 158

  • ID: A57A7DAD

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

  • bytes (bytes) – Authorization key.

Returns:

auth.Authorization