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

Gogram Example

// StickersChangeStickerPosition - positional arguments
result, err := client.StickersChangeStickerPosition(&tg.InputDocument{ID: int64(5678901234567890), AccessHash: int64(1234567890123456), FileReference: []byte{0x01, 0x02}}, 42)
if err != nil {
    // handle error
}
// result is *tg.MessagesStickerSet

Possible Errors

Code Type Description
400 STICKER_INVALID The provided sticker is invalid.