Layer 220
BotsGetBotRecommendations
Obtain a list of similarly themed bots, selected based on similarities in their subscriber bases, see here for more info.
method
Users
bots.getBotRecommendations#a1b70815 bot:InputUser = users.Users;
Parameters
| Name | Type | Description |
|---|---|---|
| Bot | InputUser | The method will return bots related to the passed bot. |
Returns
users.UsersPossible Errors
| Code | Type | Description |
|---|---|---|
| 400 | BOT_INVALID | This is not a valid bot. |
Gogram Example
// BotsGetBotRecommendations - positional arguments result, err := client.BotsGetBotRecommendations(&tg.InputUserSelf{}) if err != nil { // handle error } // result is *tg.UsersUsers