mirror of
https://github.com/InsanusMokrassar/TelegramBotApiLibraries.git
synced 2026-07-03 16:45:14 +00:00
Compare commits
6 Commits
7729ada3bb
...
0.31.0
| Author | SHA1 | Date | |
|---|---|---|---|
| f979c43794 | |||
| a67a6fa772 | |||
| 9c47bb98a3 | |||
| cd4c893f7c | |||
| 2487d51606 | |||
| 6b28e89595 |
19
CHANGELOG.md
Normal file
19
CHANGELOG.md
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
# Changelog
|
||||||
|
|
||||||
|
## 0.31.0
|
||||||
|
|
||||||
|
* `Kotlin`: `2.3.21`
|
||||||
|
* `MicroUtils`: `0.30.0`
|
||||||
|
* `Exposed`: `1.3.1`
|
||||||
|
* `PlaguBot`: `12.0.0`
|
||||||
|
* `TgBotAPI`: `35.1.0`
|
||||||
|
* `Serialization`: `1.11.0`
|
||||||
|
|
||||||
|
## 0.30.0
|
||||||
|
|
||||||
|
* `Kotlin`: `2.3.20`
|
||||||
|
* `MicroUtils`: `0.29.2`
|
||||||
|
* `Exposed`: `1.2.0`
|
||||||
|
* `PlaguBot`: `11.2.0`
|
||||||
|
* `TgBotAPI`: `33.1.0`
|
||||||
|
* `Serialization`: `1.11.0`
|
||||||
@@ -92,7 +92,7 @@ class DefaultMessageContentCache<K>(
|
|||||||
if (savedSimpleContent is MediaContent && !with(mediaFileActualityChecker) { bot.isActual(savedSimpleContent) }) {
|
if (savedSimpleContent is MediaContent && !with(mediaFileActualityChecker) { bot.isActual(savedSimpleContent) }) {
|
||||||
val savedFileContentAllocator = messagesFilesCache.get(k) ?: error("Unexpected absence of $k file for content ($simpleMessageContentCache)")
|
val savedFileContentAllocator = messagesFilesCache.get(k) ?: error("Unexpected absence of $k file for content ($simpleMessageContentCache)")
|
||||||
val newContent = bot.execute(
|
val newContent = bot.execute(
|
||||||
when (savedSimpleContent.asTelegramMedia()) {
|
when (val content = savedSimpleContent.asTelegramMedia()) {
|
||||||
is TelegramMediaAnimation -> SendAnimation(
|
is TelegramMediaAnimation -> SendAnimation(
|
||||||
filesRefreshingChatId,
|
filesRefreshingChatId,
|
||||||
savedFileContentAllocator,
|
savedFileContentAllocator,
|
||||||
@@ -118,6 +118,12 @@ class DefaultMessageContentCache<K>(
|
|||||||
savedFileContentAllocator,
|
savedFileContentAllocator,
|
||||||
disableNotification = true
|
disableNotification = true
|
||||||
)
|
)
|
||||||
|
is TelegramMediaLivePhoto -> SendLivePhoto(
|
||||||
|
chatId = filesRefreshingChatId,
|
||||||
|
livePhoto = content.file,
|
||||||
|
photo = content.photo,
|
||||||
|
disableNotification = true
|
||||||
|
)
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -6,23 +6,23 @@ kotlin.incremental=true
|
|||||||
kotlin.incremental.js=true
|
kotlin.incremental.js=true
|
||||||
|
|
||||||
|
|
||||||
kotlin_version=2.3.10
|
kotlin_version=2.3.21
|
||||||
kotlin_serialisation_core_version=1.10.0
|
kotlin_serialisation_core_version=1.11.0
|
||||||
|
|
||||||
github_release_plugin_version=2.5.2
|
github_release_plugin_version=2.5.2
|
||||||
|
|
||||||
tgbotapi_version=32.0.0
|
tgbotapi_version=35.1.0
|
||||||
micro_utils_version=0.29.1
|
micro_utils_version=0.30.0
|
||||||
exposed_version=1.1.1
|
exposed_version=1.3.1
|
||||||
plagubot_version=11.0.0
|
plagubot_version=12.0.0
|
||||||
|
|
||||||
nmcp_version=1.4.4
|
nmcp_version=1.6.0
|
||||||
|
|
||||||
# Dokka
|
# Dokka
|
||||||
|
|
||||||
dokka_version=2.1.0
|
dokka_version=2.2.0
|
||||||
|
|
||||||
# Project data
|
# Project data
|
||||||
|
|
||||||
group=dev.inmo
|
group=dev.inmo
|
||||||
version=0.29.0
|
version=0.31.0
|
||||||
|
|||||||
Reference in New Issue
Block a user