stickers.replaceSticker #

Replace a sticker in a stickerset ».

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.replaceSticker#4696459a sticker:InputDocument new_sticker:InputStickerSetItem = messages.StickerSet;

Parameters #

NameTypeDescription
stickerInputDocumentOld sticker document.
new_stickerInputStickerSetItemNew sticker.

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.