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

x/mtkruto/3_types.ts>GiveawayParameters

Cross-runtime JavaScript library for building Telegram clients
Latest
interface GiveawayParameters
Re-export
import { type GiveawayParameters } from "https://deno.land/x/mtkruto@0.6.3/3_types.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.