Layer 220
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

Possible 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