messages.ToggleStickerSets

class pyrogram.raw.functions.messages.ToggleStickerSets

Apply changes to multiple stickersets

Details:
  • Layer: 227

  • ID: B5052FEA

Parameters:
  • stickersets (List of InputStickerSet) – Stickersets to act upon

  • uninstall (bool, optional) – Uninstall the specified stickersets

  • archive (bool, optional) – Archive the specified stickersets

  • unarchive (bool, optional) – Unarchive the specified stickersets

Returns:

bool

TL Schema

messages.toggleStickerSets#b5052fea
flags:#
uninstall:flags.0?true
archive:flags.1?true
unarchive:flags.2?true
stickersets:Vector<InputStickerSet>

= Bool

Parameter Tree

ToggleStickerSets
├── uninstall → true (optional)
├── archive → true (optional)
├── unarchive → true (optional)
└── stickersets → Vector < InputStickerSet >
│ ├── id → long
│ └── access_hash → long
│ └── short_name → string
│ └── emoticon → string

Example

await app.invoke(
    ToggleStickerSets(
        uninstall=None,
        archive=None,
        unarchive=None,
        stickersets=[
                InputStickerSetEmpty()
            ],
    )
)