Interface StarTransactionTypeBotInvoicePurchase

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

interface StarTransactionTypeBotInvoicePurchase {
    @type: "starTransactionTypeBotInvoicePurchase";
    product_info: ProductInfo;
    user_id: number;
}

Properties

@type: "starTransactionTypeBotInvoicePurchase"
product_info: ProductInfo

Information about the bought product.

user_id: number

Identifier of the bot or the business account user that created the invoice.