Skip to content

StorePaymentPurposePremiumGiveaway

Type · TDLib 1.8.67 · d1085f9c

The user creating a Telegram Premium giveaway

StorePaymentPurposePremiumGiveaway(
  parameters: GiveawayParameters,
  currency: string,
  amount: int53
) → StorePaymentPurpose

parameters

GiveawayParameters

Giveaway parameters

currency

string

ISO 4217 currency code of the payment currency

amount

int53

Paid amount, in the smallest units of the currency