Interface StarTransactionTypeGiftPurchase

The transaction is a purchase of a gift to another user; for regular users and bots only. Subtype of StarTransactionType.

interface StarTransactionTypeGiftPurchase {
    @type: "starTransactionTypeGiftPurchase";
    gift: Gift;
    user_id: number;
}

Properties

Properties

@type: "starTransactionTypeGiftPurchase"
gift: Gift

The gift.

user_id: number

Identifier of the user that received the gift.