MadelineProtoDocs/docs/TD_docs/methods/setStickerPositionInSet.md

25 lines
778 B
Markdown

---
title: setStickerPositionInSet
description: Bots only. Changes position of a sticker in the set it belongs to. Sticker set should be created by the bot
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Method: setStickerPositionInSet
[Back to methods index](index.md)
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
Bots only. Changes position of a sticker in the set it belongs to. Sticker set should be created by the bot
### Parameters:
| Name | Type | Description | Required |
|----------|---------------|-------------|----------|
|sticker|[InputFile](../types/InputFile.md) | The sticker | Yes|
|position|[int](../types/int.md) | New sticker position in the set, zero-based | Yes|
### Return type: [Ok](../types/Ok.md)