mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-22 16:23:48 +00:00
commit
0a7e99bbb3
@ -1,5 +1,13 @@
|
|||||||
# TelegramBotAPI changelog
|
# TelegramBotAPI changelog
|
||||||
|
|
||||||
|
## 7.1.1
|
||||||
|
|
||||||
|
* `Versions`:
|
||||||
|
* `Kotlin`: `1.8.20` -> `1.8.21`
|
||||||
|
* `MicroUtils`: `0.17.8` -> `0.18.0`
|
||||||
|
* `Utils`:
|
||||||
|
* Fixes in `makeLinkToMessage`
|
||||||
|
|
||||||
## 7.1.0
|
## 7.1.0
|
||||||
|
|
||||||
**This update contains changes according to the [Telegram Bot API 6.7](https://core.telegram.org/bots/api-changelog#april-21-2023)**
|
**This update contains changes according to the [Telegram Bot API 6.7](https://core.telegram.org/bots/api-changelog#april-21-2023)**
|
||||||
|
@ -6,4 +6,4 @@ kotlin.incremental=true
|
|||||||
kotlin.incremental.js=true
|
kotlin.incremental.js=true
|
||||||
|
|
||||||
library_group=dev.inmo
|
library_group=dev.inmo
|
||||||
library_version=7.1.0
|
library_version=7.1.1
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[versions]
|
[versions]
|
||||||
|
|
||||||
kotlin = "1.8.20"
|
kotlin = "1.8.21"
|
||||||
kotlin-serialization = "1.5.0"
|
kotlin-serialization = "1.5.0"
|
||||||
kotlin-coroutines = "1.6.4"
|
kotlin-coroutines = "1.6.4"
|
||||||
|
|
||||||
@ -11,9 +11,9 @@ uuid = "0.7.0"
|
|||||||
ktor = "2.3.0"
|
ktor = "2.3.0"
|
||||||
|
|
||||||
ksp = "1.8.21-1.0.11"
|
ksp = "1.8.21-1.0.11"
|
||||||
kotlin-poet = "1.13.0"
|
kotlin-poet = "1.13.1"
|
||||||
|
|
||||||
microutils = "0.17.8"
|
microutils = "0.18.0"
|
||||||
|
|
||||||
github-release-plugin = "2.4.1"
|
github-release-plugin = "2.4.1"
|
||||||
dokka = "1.8.10"
|
dokka = "1.8.10"
|
||||||
|
@ -14,7 +14,6 @@ object ExceptionsOnlyLimiter : RequestLimiter {
|
|||||||
result = runCatchingSafely {
|
result = runCatchingSafely {
|
||||||
block()
|
block()
|
||||||
}.onFailure {
|
}.onFailure {
|
||||||
it.printStackTrace()
|
|
||||||
if (it is TooMuchRequestsException) {
|
if (it is TooMuchRequestsException) {
|
||||||
delay(it.retryAfter.leftToRetry)
|
delay(it.retryAfter.leftToRetry)
|
||||||
} else {
|
} else {
|
||||||
|
@ -47,7 +47,7 @@ fun makeLinkToMessage(
|
|||||||
username: Username,
|
username: Username,
|
||||||
messageId: MessageId,
|
messageId: MessageId,
|
||||||
threadId: MessageThreadId? = null
|
threadId: MessageThreadId? = null
|
||||||
): String = makeLinkToMessage(username.username, messageId, threadId)
|
): String = makeLinkToMessage(username.usernameWithoutAt, messageId, threadId)
|
||||||
fun makeLinkToMessage(
|
fun makeLinkToMessage(
|
||||||
chatId: Identifier,
|
chatId: Identifier,
|
||||||
messageId: MessageId,
|
messageId: MessageId,
|
||||||
|
Loading…
Reference in New Issue
Block a user