Interface StarTransactionTypeBotPaidMediaPurchase

The transaction is a purchase of paid media from a bot or a business account by the current user; for regular users only. Subtype of StarTransactionType.

interface StarTransactionTypeBotPaidMediaPurchase {
    @type: "starTransactionTypeBotPaidMediaPurchase";
    media: PaidMedia[];
    user_id: number;
}

Properties

Properties

@type: "starTransactionTypeBotPaidMediaPurchase"
media: PaidMedia[]

The bought media if the transaction wasn't refunded.

user_id: number

Identifier of the bot or the business account user that sent the paid media.