account.ConfirmBotConnection

class pyrogram.raw.functions.account.ConfirmBotConnection

Telegram API function.

Details:
  • Layer: 227

  • ID: 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
├── msg_id → int
└── user_id → long

Example

await app.invoke(
    ConfirmBotConnection(
        bot_id=await app.resolve_user(chat_id),
    )
)