Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/tl/2_types.ts>payments_GiveawayInfoResults_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class payments_GiveawayInfoResults_
import { payments_GiveawayInfoResults_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";

A giveaway has ended.

Constructors

new
payments_GiveawayInfoResults_(params: { winner?: true; refunded?: true; start_date: number; gift_code_slug?: string; finish_date: number; winners_count: number; activated_count: number; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
activated_count: number

Number of winners, which activated their gift codes.

finish_date: number

End date of the giveaway. May be bigger than the end date specified in parameters of the giveaway.

optional
gift_code_slug: string

If we're one of the winners of this giveaway, contains the Premium gift code, see here » for more info on the full giveaway flow.

optional
refunded: true

Whether the giveaway was canceled and was fully refunded.

start_date: number

Start date of the giveaway

optional
winner: true

Whether we're one of the winners of this giveaway.

winners_count: number

Number of winners in the giveaway

Static Properties

readonly
[name]: string
readonly
[paramDesc]: ParamDesc