Skip to main content

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

NameTypeRequiredDescription
BotInputUserClassyesThe method will return bots related to the passed bot.

Returns

UsersUsersClass

Possible errors

CodeTypeDescription
400BOT_INVALIDThis is not a valid bot.

References