stickers.changeSticker #

Update the keywords, emojis or mask coordinates of a sticker.

Layer 223

messages.stickerSet#6e153f16 set:StickerSet packs:Vector<StickerPack> keywords:Vector<StickerKeyword> documents:Vector<Document> = messages.StickerSet;
messages.stickerSetNotModified#d3f924eb = messages.StickerSet;
---functions---
stickers.changeSticker#f5537ebc flags:# sticker:InputDocument emoji:flags.0?string mask_coords:flags.1?MaskCoords keywords:flags.2?string = messages.StickerSet;

Parameters #

NameTypeDescription
flags#Flags, see TL conditional fields
stickerInputDocumentThe sticker
emojiflags.0?stringIf set, updates the emoji list associated to the sticker
mask_coordsflags.1?MaskCoordsIf set, updates the mask coordinates
keywordsflags.2?stringIf set, updates the sticker keywords (separated by commas). Can't be provided for mask stickers.

Result #

messages.StickerSet

Both users and bots can use this method #

Possible errors #

CodeTypeDescription
400STICKER_INVALIDThe provided sticker is invalid.

Stickers and masks #

Telegram clients support displaying static and animated stickers.