messages.faveSticker #

Mark or unmark a sticker as favorite

Layer 223

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
messages.faveSticker#b9ffc55b id:InputDocument unfave:Bool = Bool;

Parameters #

NameTypeDescription
idInputDocumentSticker in question
unfaveBoolWhether to add or remove a sticker from favorites

Result #

Bool

Only users can use this method #

Possible errors #

CodeTypeDescription
400STICKER_ID_INVALIDThe provided sticker ID is invalid.