From 0457792d9973c64a0fb914d8a96443d2ca8d758d Mon Sep 17 00:00:00 2001 From: bpavuk Date: Sun, 7 Jul 2024 20:56:17 +0300 Subject: [PATCH] Bot API 7.7 added RefundedPaymentEvent --- .../types/message/payments/RefundedPaymentEvent.kt | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/payments/RefundedPaymentEvent.kt diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/payments/RefundedPaymentEvent.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/payments/RefundedPaymentEvent.kt new file mode 100644 index 0000000000..6e010222c6 --- /dev/null +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/payments/RefundedPaymentEvent.kt @@ -0,0 +1,9 @@ +package dev.inmo.tgbotapi.types.message.payments + +import dev.inmo.tgbotapi.types.message.ChatEvents.abstracts.CommonEvent +import dev.inmo.tgbotapi.types.message.payments.abstracts.PaymentInfo +import dev.inmo.tgbotapi.types.payments.RefundedPayment + +data class RefundedPaymentEvent( + val payment: RefundedPayment +) : PaymentInfo, CommonEvent