bots.GetBotRecommendations

class pyrogram.raw.functions.bots.GetBotRecommendations

Obtain a list of similarly themed bots, selected based on similarities in their subscriber bases, see here » for more info.

Details:
  • Layer: 223

  • ID: A1B70815

Parameters:

bot (InputUser) – The method will return bots related to the passed bot.

Returns:

users.Users

TL Schema

bots.getBotRecommendations#a1b70815
bot:InputUser

= users.Users

Parameter Tree

GetBotRecommendations
└── botInputUser
├── InputUserEmpty
├── InputUserSelf
├── InputUser
│ ├── user_idlong
│ └── access_hashlong
├── peerInputPeer
│ ├── InputPeerEmpty
│ ├── InputPeerSelf
│ ├── InputPeerChat
│ ├── InputPeerUser
│ ├── InputPeerChannel
├── msg_idint
└── user_idlong

Example

await app.invoke(
    GetBotRecommendations(
        bot=await app.resolve_user(chat_id),
    )
)