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.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.
stars_prize flags.4?long If we're one of the winners of this Telegram Star giveaway, the number Telegram Stars we won.
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 flags.2?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.

Telegram Stars

Telegram Stars are virtual items that allow users to purchase digital goods and services from bots and mini apps inside the Telegram ecosystem, send gifts to content creators on the Telegram platform, and more.