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

x/grammy_types/mod.ts>ChatBoost

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

This object contains information about a chat boost.

Properties

boost_id: string

Unique identifier of the boost

add_date: number

Point in time (Unix timestamp) when the chat was boosted

expiration_date: number

Point in time (Unix timestamp) when the boost will automatically expire, unless the booster's Telegram Premium subscription is prolonged

Source of the added boost