mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-12-28 11:37:13 +00:00
Merge pull request #920 from byteduck-exploit/patch-1
Use correct method name for createInvoiceLink.
This commit is contained in:
commit
2c602e4434
@ -54,7 +54,7 @@ data class CreateInvoiceLink(
|
||||
@SerialName(priceDependOnShipAddressField)
|
||||
override val priceDependOnShipAddress: Boolean = false
|
||||
) : CommonSendInvoiceData, SimpleRequest<String> {
|
||||
override fun method(): String = "sendInvoice"
|
||||
override fun method(): String = "createInvoiceLink"
|
||||
override val resultDeserializer: DeserializationStrategy<String>
|
||||
get() = String.serializer()
|
||||
override val requestSerializer: SerializationStrategy<*>
|
||||
|
Loading…
Reference in New Issue
Block a user