Layer 220
constructor
payments.giveawayInfoResults#e175e66f flags:# winner:flags.0?true refunded:flags.1?true start_date:int gift_code_slug:flags.3?string stars_prize:flags.4?long finish_date:int winners_count:int activated_count:flags.2?int = payments.GiveawayInfo;

Parameters

Name Type Description
Flags # Flags, see TL conditional fields
Winner flags.0?true Whether we're one of the winners of this giveaway.
Refunded flags.1?true Whether the giveaway was canceled and was fully refunded.
StartDate int Start date of the giveaway
GiftCodeSlug flags.3?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.
StarsPrize flags.4?long If we're one of the winners of this Telegram Star giveaway, the number Telegram Stars we won.
FinishDate int End date of the giveaway. May be bigger than the end date specified in parameters of the giveaway.
WinnersCount int Number of winners in the giveaway
ActivatedCount flags.2?int Number of winners, which activated their gift codes.

Gogram Example

// Creating PaymentsGiveawayInfoResults constructor
obj := &tg.PaymentsGiveawayInfoResults{
    StartDate: 0,
    FinishDate: 0,
    WinnersCount: 0,

    // Optional fields:
    // Winner: true,
    // Refunded: true,
    // GiftCodeSlug: "...",
    // StarsPrize: int64(0),
    // ... more optional fields
}