messages.FaveSticker
- class pyrogram.raw.functions.messages.FaveSticker
Mark or unmark a sticker as favorite
- Details:
Layer:
223ID:
B9FFC55B
- Parameters:
id (
InputDocument) – Sticker in questionunfave (
bool) – Whether to add or remove a sticker from favorites
- Returns:
bool
TL Schema
messages.faveSticker#b9ffc55b
id:InputDocument
unfave:Bool
= Bool
Parameter Tree
FaveSticker
├── id →
InputDocument│ ├──
InputDocumentEmpty│ └──
InputDocument│ ├── id →
long│ ├── access_hash →
long│ └── file_reference →
bytes└── unfave →
BoolExample
await app.invoke(
FaveSticker(
id=InputDocumentEmpty(),
unfave=True,
)
)