Interface StarTransactionTypeUpgradedGiftSale

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

interface StarTransactionTypeUpgradedGiftSale {
    @type: "starTransactionTypeUpgradedGiftSale";
    affiliate: AffiliateInfo;
    gift: UpgradedGift;
    user_id: number;
}

Properties

@type: "starTransactionTypeUpgradedGiftSale"
affiliate: AffiliateInfo

Information about commission received by Telegram from the transaction.

The gift.

user_id: number

Identifier of the user that bought the gift.