stickers.changeStickerPosition #

Changes the absolute position of a sticker in the set to which it belongs. The sticker set must have been created by the current user/bot.

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.changeStickerPosition#ffb6d4ca sticker:InputDocument position:int = messages.StickerSet;

Parameters #

NameTypeDescription
stickerInputDocumentThe sticker
positionintThe new position of the sticker, zero-based

Result #

messages.StickerSet

Both users and bots can use this method #

Possible errors #

CodeTypeDescription
400STICKER_INVALIDThe provided sticker is invalid.