stickers.changeStickerPosition

Changes the absolute position of a sticker in the set to which it belongs; for bots only. The sticker set must have been created by the bot

messages.stickerSet#b60a24a6 set:StickerSet packs:Vector<StickerPack> documents:Vector<Document> = messages.StickerSet;
messages.stickerSetNotModified#d3f924eb = messages.StickerSet;
---functions---
stickers.changeStickerPosition#ffb6d4ca sticker:InputDocument position:int = messages.StickerSet;

Parameters

Name Type Description
sticker InputDocument The sticker
position int The new position of the sticker, zero-based

Result

messages.StickerSet

Possible errors

Code Type Description
400 BOT_MISSING This method can only be run by a bot.
400 STICKER_INVALID The provided sticker is invalid.

Bots can use this method