class MessageMediaGiveawayResults_
extends _MessageMedia_
import { MessageMediaGiveawayResults_ } from "https://deno.land/x/mtkruto@0.1.157/tl/2_types.ts";
A giveaway with public winners has finished, this constructor contains info about the winners.
Constructors
new
MessageMediaGiveawayResults_(params: { only_new_subscribers?: true; refunded?: true; channel_id: bigint; additional_peers_count?: number; launch_msg_id: number; winners_count: number; unclaimed_count: number; winners: Array<bigint>; months: number; prize_description?: string; until_date: number; })Properties
protected
readonly
[params]: ParamsID of the channel that was automatically boosted by the winners of the giveaway for duration of the Premium subscription.
Duration in months of each Telegram Premium subscription in the giveaway.
If set, only new subscribers starting from the giveaway creation date participated in the giveaway.
Point in time (Unix timestamp) when the winners were selected. May be bigger than winners selection date specified in initial parameters of the giveaway.
Static Properties
readonly
[paramDesc]: ParamDesc