messages.SaveRecentSticker
- class pyrogram.raw.functions.messages.SaveRecentSticker
Add/remove sticker from recent stickers list
- Details:
Layer:
223ID:
392718F8
- Parameters:
id (
InputDocument) – Stickerunsave (
bool) – Whether to save or unsave the stickerattached (
bool, optional) – Whether to add/remove stickers recently attached to photo or video files
- Returns:
bool
TL Schema
messages.saveRecentSticker#392718f8
flags:#
attached:flags.0?true
id:InputDocument
unsave:Bool
= Bool
Parameter Tree
SaveRecentSticker
├── attached →
true (optional)├── id →
InputDocument│ ├──
InputDocumentEmpty│ └──
InputDocument│ ├── id →
long│ ├── access_hash →
long│ └── file_reference →
bytes└── unsave →
BoolExample
await app.invoke(
SaveRecentSticker(
attached=None,
id=InputDocumentEmpty(),
unsave=True,
)
)