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

x/mtkruto/types/1_giveaway.ts>Giveaway

Cross-runtime JavaScript library for building Telegram clients
Latest
interface Giveaway
import { type Giveaway } from "https://deno.land/x/mtkruto@0.6.2/types/1_giveaway.ts";

A giveaway.

Properties

parameters: GiveawayParameters
winnerCount: number

The quantity of the Telegram Premium subscriptions that will be given away..

optional
premiumMonthCount: number

The duration of each Telegram Premium subscription that is to be given away in months.

optional
starCount: number

The amount of Telegram Stars that is to be given away to each user.