bots.getBotRecommendations
Obtain a list of similarly themed bots, selected based on similarities in their subscriber bases, see here » for more info.
func (c *Client) BotsGetBotRecommendations(ctx context.Context, bot InputUserClass) (UsersUsersClass, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.BotsGetBotRecommendations(ctx, bot)
if err != nil {
return err
}
_ = res // UsersUsersClass
return nil
})
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
Bot | InputUserClass | yes | The method will return bots related to the passed bot. |
Returns
Possible errors
| Code | Type | Description |
|---|---|---|
| 400 | BOT_INVALID | This is not a valid bot. |
References
- Official documentation
- Generated Go reference
- TL definition:
bots.getBotRecommendations#a1b70815