Interface StarTransactionTypeUpgradedGiftSale

The transaction is a sale of an upgraded gift; for regular users only. Subtype of StarTransactionType.

interface StarTransactionTypeUpgradedGiftSale {
    @type: "starTransactionTypeUpgradedGiftSale";
    commission_per_mille: number;
    commission_star_amount: StarAmount;
    gift: UpgradedGift;
    user_id: number;
}

Properties

@type: "starTransactionTypeUpgradedGiftSale"
commission_per_mille: number

The number of Telegram Stars received by the Telegram for each 1000 Telegram Stars received by the seller of the gift.

commission_star_amount: StarAmount

The amount of Telegram Stars that were received by Telegram; can be negative for refunds.

The gift.

user_id: number

Identifier of the user that bought the gift.