From 15187317861538828aeec832e6717c694a93d881 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Mon, 21 Jan 2019 09:24:22 +0800 Subject: [PATCH] fix "SendContact" method and "SendSticker" file name --- .../TelegramBotAPI/requests/send/SendContact.kt | 2 +- .../send/media/{SendStickerByFileId.kt => SendSticker.kt} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename src/main/kotlin/com/github/insanusmokrassar/TelegramBotAPI/requests/send/media/{SendStickerByFileId.kt => SendSticker.kt} (100%) diff --git a/src/main/kotlin/com/github/insanusmokrassar/TelegramBotAPI/requests/send/SendContact.kt b/src/main/kotlin/com/github/insanusmokrassar/TelegramBotAPI/requests/send/SendContact.kt index aa1df92c95..500f9e7e5c 100644 --- a/src/main/kotlin/com/github/insanusmokrassar/TelegramBotAPI/requests/send/SendContact.kt +++ b/src/main/kotlin/com/github/insanusmokrassar/TelegramBotAPI/requests/send/SendContact.kt @@ -46,7 +46,7 @@ data class SendContact( replyMarkup ) - override fun method(): String = "sendVenue" + override fun method(): String = "sendContact" override fun resultSerializer(): KSerializer = RawMessage.serializer() } diff --git a/src/main/kotlin/com/github/insanusmokrassar/TelegramBotAPI/requests/send/media/SendStickerByFileId.kt b/src/main/kotlin/com/github/insanusmokrassar/TelegramBotAPI/requests/send/media/SendSticker.kt similarity index 100% rename from src/main/kotlin/com/github/insanusmokrassar/TelegramBotAPI/requests/send/media/SendStickerByFileId.kt rename to src/main/kotlin/com/github/insanusmokrassar/TelegramBotAPI/requests/send/media/SendSticker.kt