Skip to main content

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​

NameTypeRequiredDescription
Uninstallbool—Uninstall the specified stickersets
Archivebool—Archive the specified stickersets
Unarchivebool—Unarchive the specified stickersets
Stickersets[]InputStickerSetClassyesStickersets to act upon

Returns​

bool

References​