Skip to main content
Extremely Popular
Go to Latest
method Api.prototype.setStickerPositionInSet
import { Api } from "https://deno.land/x/grammy@v1.11.1/core/api.ts";

Use this method to move a sticker in a set created by the bot to a specific position. Returns True on success.

Parameters

sticker: string

File identifier of the sticker

position: number

New sticker position in the set, zero-based

optional
signal: AbortSignal

Optional AbortSignal to cancel the request

Official reference: https://core.telegram.org/bots/api#setstickerpositioninset