payments.giveawayInfoResults

A giveaway has ended.

Constructor schema is available as of layer 187. Switch »

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.
start_date int Start date of the giveaway
gift_code_slug flags.0?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.
finish_date int End date of the giveaway. May be bigger than the end date specified in parameters of the giveaway.
winners_count int Number of winners in the giveaway
activated_count int Number of winners, which activated their gift codes.

Type

payments.GiveawayInfo

Related pages

Deep links

Telegram clients must handle special tg:// and t.me deep links encountered in messages, link entities and in other apps by registering OS handlers.

Giveaways

Telegram channel and supergroup administrators may launch giveaways to randomly distribute Telegram Premium subscriptions and other gifts among their followers, in exchange for boosts.