messages.saveRecentSticker

Add/remove sticker from recent stickers list

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

Parameters

Name Type Description
flags # Flags, see TL conditional fields
attached flags.0?true Whether to add/remove stickers recently attached to photo or video files
id InputDocument Sticker
unsave Bool Whether to save or unsave the sticker

Result

Bool

Possible errors

Code Type Description
400 STICKER_ID_INVALID The provided sticker ID is invalid.