Interface StarTransactionTypeBotInvoiceSale

The transaction is a sale of a product by the bot; for bots only. Subtype of StarTransactionType.

interface StarTransactionTypeBotInvoiceSale {
    @type: "starTransactionTypeBotInvoiceSale";
    affiliate: AffiliateInfo;
    invoice_payload: string;
    product_info: ProductInfo;
    user_id: number;
}

Properties

@type: "starTransactionTypeBotInvoiceSale"
affiliate: AffiliateInfo

Information about the affiliate which received commission from the transaction; may be null if none.

invoice_payload: string

Invoice payload.

product_info: ProductInfo

Information about the bought product.

user_id: number

Identifier of the user that bought the product.