Skip to main content

bots.getPopularAppBots

Fetch popular Main Mini Apps, to be used in the apps tab of global search ».

func (c *Client) BotsGetPopularAppBots(ctx context.Context, request *BotsGetPopularAppBotsRequest) (*BotsPopularAppBots, error)

Calling this method

client.Run(ctx, func(ctx context.Context) error {
api := client.API()

res, err := api.BotsGetPopularAppBots(ctx, &tg.BotsGetPopularAppBotsRequest{
// see Parameters
})
if err != nil {
return err
}
_ = res // *BotsPopularAppBots
return nil
})

Parameters

NameTypeRequiredDescription
OffsetstringyesOffset for pagination, initially an empty string, then re-use the next_offset returned by the previous query.
LimitintyesMaximum number of results to return, see pagination

Returns

*BotsPopularAppBots

References