Skip to content

PrepaidGiveaway

Type · TDLib 1.8.67 · d1085f9c

Describes a prepaid giveaway

PrepaidGiveaway(
  id: int64,
  winner_count: int32,
  prize: GiveawayPrize,
  boost_count: int32,
  payment_date: int32
) → PrepaidGiveaway

id

int64

Unique identifier of the prepaid giveaway

winner_count

int32

Number of users who will receive giveaway prize

prize

GiveawayPrize

Prize of the giveaway

boost_count

int32

The number of boosts received by the chat from the giveaway; for Telegram Star giveaways only

payment_date

int32

Point in time (Unix timestamp) when the giveaway was paid