Interface StorePaymentPurposeGiftedStars

The user buying Telegram Stars for other users. Subtype of StorePaymentPurpose.

interface StorePaymentPurposeGiftedStars {
    @type: "storePaymentPurposeGiftedStars";
    amount: number;
    currency: string;
    star_count: number;
    user_id: number;
}

Properties

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

user_id: number

Identifier of the user to which Telegram Stars are gifted.