Module

x/grammy/mod.ts>Api#setStickerPositionInSet

The Telegram Bot Framework.
Very Popular
Go to Latest
method Api.prototype.setStickerPositionInSet
import { Api } from "https://dotland.deno.dev/x/grammy@v1.20.2/mod.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