Raw.payments.GiveawayInfoResults

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 undefined

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

  • refunded : boolean or undefined

    Whether the giveaway was canceled and was fully refunded.

  • startDate : number

    Start date of the giveaway

  • giftCodeSlug : string or undefined

    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.

  • finishDate : number

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

  • winnersCount : number

    Number of winners in the giveaway

  • activatedCount : number

    Number of winners, which activated their gift codes.