messages.ToggleStickerSets

class pyrogram.raw.functions.messages.ToggleStickerSets

Apply changes to multiple stickersets

Details:
  • Layer: 223

  • 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
├── uninstalltrue (optional)
├── archivetrue (optional)
├── unarchivetrue (optional)
└── stickersetsVector < InputStickerSet >
│ ├── idlong
│ └── access_hashlong
│ └── short_namestring
│ └── emoticonstring

Example

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