Interface TelegramPaymentPurposeStars

The user buying Telegram Stars. Subtype of TelegramPaymentPurpose.

interface TelegramPaymentPurposeStars {
    @type: "telegramPaymentPurposeStars";
    amount: number;
    currency: string;
    star_count: number;
}

Properties

@type: "telegramPaymentPurposeStars"
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.