messages.FaveSticker

class pyrogram.raw.functions.messages.FaveSticker

Mark or unmark a sticker as favorite

Details:
  • Layer: 223

  • ID: B9FFC55B

Parameters:
  • id (InputDocument) – Sticker in question

  • unfave (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
├── idInputDocument
│ ├── InputDocumentEmpty
│ └── InputDocument
│ ├── idlong
│ ├── access_hashlong
│ └── file_referencebytes
└── unfaveBool

Example

await app.invoke(
    FaveSticker(
        id=InputDocumentEmpty(),
        unfave=True,
    )
)