Skip to main content
Module

x/mtkruto/mod.ts>GiveawayParameters

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

The point of time in which the winners will be chosen.

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.