auth.ImportBotAuthorization
- class pyrogram.raw.functions.auth.ImportBotAuthorization
Login as a bot
- Details:
Layer:
223ID:
67A3FF2C
- Parameters:
flags (
int32-bit) – Reserved for future useapi_id (
int32-bit) – Application identifier (see. App configuration)api_hash (
str) – Application identifier hash (see. App configuration)bot_auth_token (
str) – Bot token (see bots)
- Returns:
TL Schema
auth.importBotAuthorization#67a3ff2c
flags:int
api_id:int
api_hash:string
bot_auth_token:string
= auth.Authorization
Parameter Tree
ImportBotAuthorization
├── flags →
int├── api_id →
int├── api_hash →
string└── bot_auth_token →
stringExample
await app.invoke(
ImportBotAuthorization(
flags=0,
api_id=0,
api_hash="text",
bot_auth_token="text",
)
)