From 02fa83c92afa1c9734bb15ef8748458ce4196458 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Thu, 6 Feb 2020 23:17:55 +0600 Subject: [PATCH] small refactor in PinChatMessage --- .../TelegramBotAPI/requests/chat/modify/PinChatMessage.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/requests/chat/modify/PinChatMessage.kt b/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/requests/chat/modify/PinChatMessage.kt index ef1f239cad..2996b448d7 100644 --- a/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/requests/chat/modify/PinChatMessage.kt +++ b/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/requests/chat/modify/PinChatMessage.kt @@ -42,7 +42,7 @@ suspend fun RequestsExecutor.pinChatMessage( chatId: ChatIdentifier, message: Message, disableNotification: Boolean = false -) = execute(PinChatMessage(chatId, message.messageId, disableNotification)) +) = pinChatMessage(chatId, message.messageId, disableNotification) suspend fun RequestsExecutor.pinChatMessage( chat: PublicChat,