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
| Name | Type | Required | Description |
|---|---|---|---|
Offset | string | yes | Offset for pagination, initially an empty string, then re-use the next_offset returned by the previous query. |
Limit | int | yes | Maximum number of results to return, see pagination |
Returns
References
- Official documentation
- Generated Go reference
- TL definition:
bots.getPopularAppBots#c2510192