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: 227

  • 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
└── bot → 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(
    GetBotRecommendations(
        bot=await app.resolve_user(chat_id),
    )
)