From eee9fe439f4e5ec7861a445c9c9581d79722020b Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Mon, 31 Jan 2022 17:51:34 +0600 Subject: [PATCH] fix of #529 --- CHANGELOG.md | 3 +++ .../types/files/{PathedFile.kt => PathedFileAsStream.kt} | 0 2 files changed, 3 insertions(+) rename tgbotapi.utils/src/jvmMain/kotlin/dev/inmo/tgbotapi/types/files/{PathedFile.kt => PathedFileAsStream.kt} (100%) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f67eb0a46..474bc7e63d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ ## 0.38.4 +* `Utils`: + * Rename `PathedFile` to avoid clash with core file (fix of [#529](https://github.com/InsanusMokrassar/TelegramBotAPI/issues/529)) + ## 0.38.3 * `Common`: diff --git a/tgbotapi.utils/src/jvmMain/kotlin/dev/inmo/tgbotapi/types/files/PathedFile.kt b/tgbotapi.utils/src/jvmMain/kotlin/dev/inmo/tgbotapi/types/files/PathedFileAsStream.kt similarity index 100% rename from tgbotapi.utils/src/jvmMain/kotlin/dev/inmo/tgbotapi/types/files/PathedFile.kt rename to tgbotapi.utils/src/jvmMain/kotlin/dev/inmo/tgbotapi/types/files/PathedFileAsStream.kt