MessagePaymentSuccessfulBot constructor

const MessagePaymentSuccessfulBot({
  1. required String currency,
  2. required int totalAmount,
  3. required int subscriptionUntilDate,
  4. required bool isRecurring,
  5. required bool isFirstRecurring,
  6. required String invoicePayload,
  7. required String shippingOptionId,
  8. OrderInfo? orderInfo,
  9. required String telegramPaymentChargeId,
  10. required String providerPaymentChargeId,
})

A payment has been received by the bot or the business account

Implementation

const MessagePaymentSuccessfulBot({
  required this.currency,
  required this.totalAmount,
  required this.subscriptionUntilDate,
  required this.isRecurring,
  required this.isFirstRecurring,
  required this.invoicePayload,
  required this.shippingOptionId,
  this.orderInfo,
  required this.telegramPaymentChargeId,
  required this.providerPaymentChargeId,
});