messages.saveRecentSticker #

Add/remove sticker from recent stickers list

Layer 223

boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
messages.saveRecentSticker#392718f8 flags:# attached:flags.0?true id:InputDocument unsave:Bool = Bool;

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
attachedflags.0?trueWhether to add/remove stickers recently attached to photo or video files
idInputDocumentSticker
unsaveBoolWhether to save or unsave the sticker

Result #

Bool

Only users can use this method #

Possible errors #

CodeTypeDescription
400STICKER_ID_INVALIDThe provided sticker ID is invalid.