Skip to content

StarTransactionTypeBotInvoiceSale

Type · TDLib 1.8.67 · d1085f9c

The transaction is a sale of a product by the bot; relevant for bots only

StarTransactionTypeBotInvoiceSale(
  user_id: int53,
  product_info: ProductInfo,
  invoice_payload: bytes,
  affiliate: AffiliateInfo
) → StarTransactionType

user_id

int53

Identifier of the user who bought the product

product_info

ProductInfo

Information about the bought product

invoice_payload

bytes

Invoice payload

affiliate

AffiliateInfo

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