MessagePaymentSuccessfulBot constructor

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

A payment has been completed; for bots only

Implementation

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