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

x/grammy/platform.deno.ts>Sticker

The Telegram Bot Framework.
Very Popular
Go to Latest
interface Sticker
import { type Sticker } from "https://deno.land/x/grammy@v1.10.1/platform.deno.ts";

This object represents a sticker.

Properties

file_id: string

Identifier for this file, which can be used to download or reuse the file

file_unique_id: string

Unique identifier for this file, which is supposed to be the same over time and for different bots. Can't be used to download or reuse the file.

width: number

Sticker width

height: number

Sticker height

is_animated: boolean

True, if the sticker is animated

is_video: boolean

True, if the sticker is a video sticker

optional
thumb: PhotoSize

Sticker thumbnail in the .WEBP or .JPG format

optional
emoji: string

Emoji associated with the sticker

optional
set_name: string

Name of the sticker set to which the sticker belongs

optional
premium_animation: File

Premium animation for the sticker, if the sticker is premium

optional
mask_position: MaskPosition

For mask stickers, the position where the mask should be placed

optional
file_size: number

File size in bytes