payments.giveawayInfoResults #

A giveaway has ended.

Layer 223

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 #

NameTypeDescription
flags#Flags, see TL conditional fields
winnerflags.0?trueWhether we're one of the winners of this giveaway.
refundedflags.1?trueWhether the giveaway was canceled and was fully refunded.
start_dateintStart date of the giveaway
gift_code_slugflags.3?stringIf 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_prizeflags.4?longIf we're one of the winners of this Telegram Star giveaway, the number Telegram Stars we won.
finish_dateintEnd date of the giveaway. May be bigger than the end date specified in parameters of the giveaway.
winners_countintNumber of winners in the giveaway
activated_countflags.2?intNumber of winners, which activated their gift codes.

Type #

payments.GiveawayInfo

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 and gifts #

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.