StarTransactionTypeBotSubscriptionPurchase constructor

const StarTransactionTypeBotSubscriptionPurchase({
  1. required int userId,
  2. required int subscriptionPeriod,
  3. ProductInfo? productInfo,
})

The transaction is a purchase of a subscription from a bot or a business account by the current user; relevant for regular users only

Implementation

const StarTransactionTypeBotSubscriptionPurchase({
  required this.userId,
  required this.subscriptionPeriod,
  this.productInfo,
});