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:
223ID:
A1B70815
- Parameters:
bot (
InputUser) – The method will return bots related to the passed bot.- Returns:
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│ ├──
InputPeerUserFromMessage├── msg_id →
int└── user_id →
longExample
await app.invoke(
GetBotRecommendations(
bot=await app.resolve_user(chat_id),
)
)