Interface TonTransactionTypeUpgradedGiftPurchase

The transaction is a purchase of an upgraded gift for some user or channel; for regular users only. Subtype of TonTransactionType.

interface TonTransactionTypeUpgradedGiftPurchase {
    @type: "tonTransactionTypeUpgradedGiftPurchase";
    gift: UpgradedGift;
    user_id: number;
}

Properties

Properties

@type: "tonTransactionTypeUpgradedGiftPurchase"

The gift.

user_id: number

Identifier of the user that sold the gift.