Skip to content

StarTransactionTypeBotPaidMediaSale

Type · TDLib 1.8.67 · d1085f9c

The transaction is a sale of paid media by the bot or a business account managed by the bot; relevant for bots only

StarTransactionTypeBotPaidMediaSale(
  user_id: int53,
  media: list of PaidMedia,
  payload: string,
  affiliate: AffiliateInfo
) → StarTransactionType

user_id

int53

Identifier of the user who bought the media

media

list of PaidMedia

The bought media

payload

string

Bot-provided payload

affiliate

AffiliateInfo

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