stickers.ChangeStickerPosition

class pyrogram.raw.functions.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.

Details:
  • Layer: 223

  • ID: FFB6D4CA

Parameters:
  • sticker (InputDocument) – The sticker

  • position (int 32-bit) – The new position of the sticker, zero-based

Returns:

messages.StickerSet

TL Schema

stickers.changeStickerPosition#ffb6d4ca
sticker:InputDocument
position:int

= messages.StickerSet

Parameter Tree

ChangeStickerPosition
├── stickerInputDocument
│ ├── InputDocumentEmpty
│ └── InputDocument
│ ├── idlong
│ ├── access_hashlong
│ └── file_referencebytes
└── positionint

Example

await app.invoke(
    ChangeStickerPosition(
        sticker=InputDocumentEmpty(),
        position=0,
    )
)