From a2f9a5a4324aa379e87802016e000f230fb7164f Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Sun, 4 Oct 2020 16:49:43 +0600 Subject: [PATCH] hotfix after SendVoice signature change --- .../TelegramBotAPI/types/message/content/media/VoiceContent.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/TelegramBotAPI-core/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/types/message/content/media/VoiceContent.kt b/TelegramBotAPI-core/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/types/message/content/media/VoiceContent.kt index bb0119119b..5680a0e843 100644 --- a/TelegramBotAPI-core/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/types/message/content/media/VoiceContent.kt +++ b/TelegramBotAPI-core/src/commonMain/kotlin/com/github/insanusmokrassar/TelegramBotAPI/types/message/content/media/VoiceContent.kt @@ -29,7 +29,6 @@ data class VoiceContent( ): Request> = SendVoice( chatId, media.fileId, - null, toHtmlCaptions().firstOrNull(), HTMLParseMode, media.duration,