messages.ToggleStickerSets
- class pyrogram.raw.functions.messages.ToggleStickerSets
Apply changes to multiple stickersets
- Details:
Layer:
223ID:
B5052FEA
- Parameters:
stickersets (List of
InputStickerSet) – Stickersets to act uponuninstall (
bool, optional) – Uninstall the specified stickersetsarchive (
bool, optional) – Archive the specified stickersetsunarchive (
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 →
stringExample
await app.invoke(
ToggleStickerSets(
uninstall=None,
archive=None,
unarchive=None,
stickersets=[
InputStickerSetEmpty()
],
)
)