typescript-telegram-bot-api
Version:
Telegram Bot API wrapper for Node.js written in TypeScript
26 lines (25 loc) • 652 B
TypeScript
import { ChatBoostSource } from './';
/**
* ## ChatBoost
* This object contains information about a chat boost.
* @see https://core.telegram.org/bots/api#chatboost
*/
export type ChatBoost = {
/**
* Unique identifier of the boost
*/
boost_id: string;
/**
* Point in time (Unix timestamp) when the chat was boosted
*/
add_date: number;
/**
* Point in time (Unix timestamp) when the boost will automatically expire, unless the booster's Telegram Premium
* subscription is prolonged
*/
expiration_date: number;
/**
* Source of the added boost
*/
source: ChatBoostSource;
};