Interface StorePaymentPurposeStars

The user buying Telegram Stars. Subtype of StorePaymentPurpose.

interface StorePaymentPurposeStars {
    @type: "storePaymentPurposeStars";
    amount: number;
    currency: string;
    star_count: number;
}

Properties

@type: "storePaymentPurposeStars"
amount: number

Paid amount, in the smallest units of the currency.

currency: string

ISO 4217 currency code of the payment currency.

star_count: number

Number of bought Telegram Stars.