account.ConfirmBotConnection
- class pyrogram.raw.functions.account.ConfirmBotConnection
Telegram API function.
- Details:
Layer:
227ID:
67ED1F68
- Parameters:
bot_id (
InputUser) – N/A- Returns:
bool
TL Schema
account.confirmBotConnection#67ed1f68
bot_id:InputUser
= Bool
Parameter Tree
ConfirmBotConnection
└── bot_id →
InputUser├──
InputUserEmpty├──
InputUserSelf├──
InputUser│ ├── user_id →
long│ └── access_hash →
long├── peer →
InputPeer│ ├──
InputPeerEmpty│ ├──
InputPeerSelf│ ├──
InputPeerChat│ ├──
InputPeerUser│ ├──
InputPeerChannel│ ├──
InputPeerUserFromMessage├── msg_id →
int└── user_id →
longExample
await app.invoke(
ConfirmBotConnection(
bot_id=await app.resolve_user(chat_id),
)
)