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

x/grammy_types/mod.ts>ChatBoostSourcePremium

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

The boost was obtained by subscribing to Telegram Premium or by gifting a Telegram Premium subscription to another user.

Properties

source: "premium"

Source of the boost, always “premium”

user: User

User that boosted the chat