class MessageMediaGiveaway_
extends _MessageMedia_
import { MessageMediaGiveaway_ } from "https://deno.land/x/mtkruto@0.1.157/tl/2_types.ts";
Contains info about a giveaway, see here » for more info.
Properties
protected
readonly
[params]: ParamsIf set, only users residing in these countries can participate in the giveaway, (specified as a list of two-letter ISO 3166-1 alpha-2 country codes); otherwise there are no country-based limitations.
Duration in months of each Telegram Premium subscription in the giveaway.
If set, only new subscribers starting from the giveaway creation date will be able to participate to the giveaway.
Number of Telegram Premium subscriptions given away.
If set, giveaway winners are public and will be listed in a messageMediaGiveawayResults message that will be automatically sent to the channel once the giveaway ends.
Static Properties
readonly
[paramDesc]: ParamDesc