Raw.payments.GiveawayInfoResults
A giveaway has ended.
payments.giveawayInfoResults#cd5570 flags:# winner:flags.0?true refunded:flags.1?true start_date:int gift_code_slug:flags.0?string finish_date:int winners_count:int activated_count:int = payments.GiveawayInfo;
export namespace Raw {
export namespace payments {
export class GiveawayInfoResults {
constructor(params: {
winner?: boolean;
refunded?: boolean;
startDate: number;
giftCodeSlug?: string;
finishDate: number;
winnersCount: number;
activatedCount: number;
}) {}
}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0xcd5570
Property
winner
: boolean or undefinedWhether we’re one of the winners of this giveaway.
refunded
: boolean or undefinedWhether the giveaway was canceled and was fully refunded.
startDate
: numberStart date of the giveaway
giftCodeSlug
: string or undefinedIf we’re one of the winners of this giveaway, contains the premium gift code, see here for more info on the full giveaway flow.
finishDate
: numberEnd date of the giveaway. may be bigger than the end date specified in parameters of the giveaway.
winnersCount
: numberNumber of winners in the giveaway
activatedCount
: numberNumber of winners, which activated their gift codes.