StarTransactionTypeBotPaidMediaSale constructor

const StarTransactionTypeBotPaidMediaSale({
  1. required int userId,
  2. required List<PaidMedia> media,
  3. required String payload,
  4. AffiliateInfo? affiliate,
})

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

Implementation

const StarTransactionTypeBotPaidMediaSale({
  required this.userId,
  required this.media,
  required this.payload,
  this.affiliate,
});