From 43496505a787cb03d932b8e3bb0470176f883602 Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 11 Nov 2024 05:14:07 +0100 Subject: [PATCH] Use correct method name for createInvoiceLink. --- .../inmo/tgbotapi/requests/send/payments/CreateInvoiceLink.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/payments/CreateInvoiceLink.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/payments/CreateInvoiceLink.kt index 598d9a277b..f1114a47f4 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/payments/CreateInvoiceLink.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/requests/send/payments/CreateInvoiceLink.kt @@ -54,7 +54,7 @@ data class CreateInvoiceLink( @SerialName(priceDependOnShipAddressField) override val priceDependOnShipAddress: Boolean = false ) : CommonSendInvoiceData, SimpleRequest { - override fun method(): String = "sendInvoice" + override fun method(): String = "createInvoiceLink" override val resultDeserializer: DeserializationStrategy get() = String.serializer() override val requestSerializer: SerializationStrategy<*>