Layer 220
MessagesToggleStickerSets
Apply changes to multiple stickersets
method
Users
messages.toggleStickerSets#b5052fea flags:# uninstall:flags.0?true archive:flags.1?true unarchive:flags.2?true stickersets:Vector<InputStickerSet> = Bool;
Parameters
| Name | Type | Description |
|---|---|---|
| Flags | # | Flags, see TL conditional fields |
| Uninstall | flags.0?true | Uninstall the specified stickersets |
| Archive | flags.1?true | Archive the specified stickersets |
| Unarchive | flags.2?true | Unarchive the specified stickersets |
| Stickersets | Vector<InputStickerSet> | Stickersets to act upon |
Returns
BoolGogram Example
// MessagesToggleStickerSets - using Params struct result, err := client.MessagesToggleStickerSets(&tg.MessagesToggleStickerSetsParams{ Stickersets: []tg.InputStickerSet{&tg.InputStickerSet{}}, // Optional fields: // Uninstall: true, // Archive: true, // Unarchive: true, }) if err != nil { // handle error } // result is *tg.Bool