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

x/grammy_types/mod.ts>ChatBoostSourceGiftCode

Type declarations of the Telegram Bot API.
Latest
interface ChatBoostSourceGiftCode
import { type ChatBoostSourceGiftCode } from "https://deno.land/x/grammy_types@v3.15.0/mod.ts";

The boost was obtained by the creation of Telegram Premium gift codes to boost a chat. Each such code boosts the chat 4 times for the duration of the corresponding Telegram Premium subscription.

Properties

source: "gift_code"

Source of the boost, always “gift_code”

user: User

User for which the gift code was created