From 1811a63a13c0c27620a9a561e35677e030b48220 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Thu, 2 Jul 2020 16:00:38 +0600 Subject: [PATCH] update last added sendVenue --- .../TelegramBotAPI/extensions/api/send/SendVenue.kt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/TelegramBotAPI-extensions-api/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/extensions/api/send/SendVenue.kt b/TelegramBotAPI-extensions-api/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/extensions/api/send/SendVenue.kt index 39dd8e5dee..f29e72b7cf 100644 --- a/TelegramBotAPI-extensions-api/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/extensions/api/send/SendVenue.kt +++ b/TelegramBotAPI-extensions-api/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/extensions/api/send/SendVenue.kt @@ -46,10 +46,8 @@ suspend fun RequestsExecutor.sendVenue( disableNotification: Boolean = false, replyToMessageId: MessageIdentifier? = null, replyMarkup: KeyboardMarkup? = null -) = execute( - SendVenue( - chatId, location.latitude, location.longitude, title, address, foursquareId, disableNotification, replyToMessageId, replyMarkup - ) +) = sendVenue( + chatId, location.latitude, location.longitude, title, address, foursquareId, disableNotification, replyToMessageId, replyMarkup ) suspend fun RequestsExecutor.sendVenue(