ImportBotAuthorization¶
-
class
pyrogram.raw.functions.auth.
ImportBotAuthorization
¶ Login as a bot.
- Details
Layer:
126
ID:
0x67a3ff2c
- Parameters
flags (
int
32-bit
) – Reserved for future use.api_id (
int
32-bit
) – Application identifier (see. App configuration).api_hash (
str
) – Application identifier hash (see. App configuration).bot_auth_token (
str
) – Bot token (see bots).
- Returns
auth.Authorization
– Oject contains info on user authorization.