Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grammy/mod.ts>Api#setStickerPositionInSet

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