auth.ImportWebTokenAuthorization#

class pyrogram.raw.functions.auth.ImportWebTokenAuthorization#

Login by importing an authorization token

Usable by Users Bots

Note

This method may be used by not yet logged in connections.

Details:
  • Layer: 224

  • ID: 2DB873A9

Parameters:
  • api_id (int 32-bit) – API ID

  • api_hash (str) – API hash

  • web_auth_token (str) – The authorization token

Returns:

auth.Authorization