Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.2.24/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.