Interface StorePaymentPurposePremiumGiveaway

The user creating a Telegram Premium giveaway. Subtype of StorePaymentPurpose.

interface StorePaymentPurposePremiumGiveaway {
    @type: "storePaymentPurposePremiumGiveaway";
    amount: number;
    currency: string;
    parameters: GiveawayParameters;
}

Properties

@type: "storePaymentPurposePremiumGiveaway"
amount: number

Paid amount, in the smallest units of the currency.

currency: string

ISO 4217 currency code of the payment currency.

parameters: GiveawayParameters

Giveaway parameters.