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_idInputUser
├── InputUserEmpty
├── InputUserSelf
├── InputUser
│ ├── user_idlong
│ └── access_hashlong
├── peerInputPeer
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ ├── InputPeerUser
│ ├── InputPeerChannel
├── msg_idint
└── user_idlong

Example

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