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

x/grammy/types.ts>Gift

The Telegram Bot Framework.
Very Popular
Latest
interface Gift
import { type Gift } from "https://deno.land/x/grammy@v1.32.0/types.ts";

This object represents a gift that can be sent by the bot.

Properties

id: string

Unique identifier of the gift

sticker: Sticker

The sticker that represents the gift

star_count: number

The number of Telegram Stars that must be paid to send the sticker

optional
total_count: number

The total number of the gifts of this type that can be sent; for limited gifts only

optional
remaining_count: number

The number of remaining gifts of this type that can be sent; for limited gifts only