UNPKG

typescript-telegram-bot-api

Version:

Telegram Bot API wrapper for Node.js written in TypeScript

18 lines (17 loc) 548 B
import { User } from './'; /** * ## ChatBoostSourceGiftCode * 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. * @see https://core.telegram.org/bots/api#chatboostsourcegiftcode */ export type ChatBoostSourceGiftCode = { /** * Source of the boost, always “gift_code” */ source: 'gift_code'; /** * User for which the gift code was created */ user: User; };