messages.reorderStickerSets
Reorder installed stickersets
func (c *Client) MessagesReorderStickerSets(ctx context.Context, request *MessagesReorderStickerSetsRequest) (bool, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.MessagesReorderStickerSets(ctx, &tg.MessagesReorderStickerSetsRequest{
// see Parameters
})
if err != nil {
return err
}
_ = res // bool
return nil
})
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
Masks | bool | — | Reorder mask stickersets |
Emojis | bool | — | Reorder custom emoji stickersets |
Order | []int64 | yes | New stickerset order by stickerset IDs |
Returns
bool
References
- Official documentation
- Generated Go reference
- TL definition:
messages.reorderStickerSets#78337739