ImportBotAuthorization

class pyrogram.api.functions.auth.ImportBotAuthorization(*, flags: int, api_id: int, api_hash: str, bot_auth_token: str)
ID

0x67a3ff2c

Parameters:
  • flagsint 32-bit
  • api_idint 32-bit
  • api_hashstr
  • bot_auth_tokenstr
Raises:

RPCError

Returns:

auth.Authorization