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

x/mtkruto/types/0_giveaway_parameters.ts>GiveawayParameters

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

Giveaway parameters.

Properties

boostedChatId: number

The identifier of the chat that will be boosted for the duration of the given away Premium subscriptions.

additionalChatIds: number[]

The identifiers of additional chats that the user must subscribe to in order to be eligible for the prizes.

winnerSelectionDate: Date

A point in time within the future in which the winners will be selected.

onlyNewMembers: boolean

Whether only new members of the chats will be eligible for the prizes.

countries: string[]

A list of countries that are eligible for the prizes.