Layer 220
StickersChangeStickerPosition
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.
method
Users
Bots
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 |
Returns
messages.StickerSetPossible Errors
| Code | Type | Description |
|---|---|---|
| 400 | STICKER_INVALID | The provided sticker is invalid. |
Gogram Example
// StickersChangeStickerPosition - positional arguments result, err := client.StickersChangeStickerPosition(&tg.InputDocument{ID: int64(0), AccessHash: int64(0), FileReference: []byte{}}, 0) if err != nil { // handle error } // result is *tg.MessagesStickerSet