set_sticker_position_in_set()

Client.set_sticker_position_in_set(sticker: str, position: int) bool

Move a sticker in a set created by the bot to a specific position.

Usable by Users Bots
Parameters:
  • sticker (str) – File identifier of the sticker.

  • position (int) – New sticker position in the set, zero-based.

Returns:

bool – True on success.

Example

await app.set_sticker_position_in_set("file_id", 0)