messages.toggleStickerSets
Apply changes to multiple stickersets
func (c *Client) MessagesToggleStickerSets(ctx context.Context, request *MessagesToggleStickerSetsRequest) (bool, error)
Calling this method
client.Run(ctx, func(ctx context.Context) error {
api := client.API()
res, err := api.MessagesToggleStickerSets(ctx, &tg.MessagesToggleStickerSetsRequest{
// see Parameters
})
if err != nil {
return err
}
_ = res // bool
return nil
})
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
Uninstall | bool | — | Uninstall the specified stickersets |
Archive | bool | — | Archive the specified stickersets |
Unarchive | bool | — | Unarchive the specified stickersets |
Stickersets | []InputStickerSetClass | yes | Stickersets to act upon |
Returns
bool
References
- Official documentation
- Generated Go reference
- TL definition:
messages.toggleStickerSets#b5052fea