mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-22 08:13:47 +00:00
update changelog
This commit is contained in:
parent
89524290c5
commit
4d92588390
11
CHANGELOG.md
11
CHANGELOG.md
@ -6,6 +6,17 @@
|
||||
|
||||
**IN THIS UPDATE KRYPTO DEPENDENCY CHANGED TO `com.soywiz.korge:korlibs-crypto` UP TO 5.3.0 VERSION**
|
||||
|
||||
* `Version`:
|
||||
* `MicroUtils`: `0.20.23` -> `0.20.26`
|
||||
* `Korlibs`: `4.0.10` -> `5.3.0`
|
||||
* `Core`:
|
||||
* `Message` now inherited by two variants: `AccessibleMessage` and `InaccessibleMessage`
|
||||
* `Common`:
|
||||
* In most places `disableWebPagePreview` has been replaced by new `LinkPreviewOptions`
|
||||
* In most places arguments `replyToMessageId` and `allowSendingWithoutReply` has been replaced with
|
||||
`ReplyParameters`
|
||||
* In `reply` extension two parameters have been added: `replyInChatId` and `replyInThreadId`
|
||||
|
||||
## 9.4.3
|
||||
|
||||
**IetfLanguageCode has been renamed to IetfLang in MicroUtils**
|
||||
|
@ -13,7 +13,7 @@ ktor = "2.3.7"
|
||||
ksp = "1.9.22-1.0.16"
|
||||
kotlin-poet = "1.15.3"
|
||||
|
||||
microutils = "0.20.25"
|
||||
microutils = "0.20.26"
|
||||
kslog = "1.3.1"
|
||||
|
||||
versions = "0.50.0"
|
||||
|
@ -28,7 +28,7 @@ sealed interface ReplyInfo {
|
||||
val messageMeta: Message.MetaInfo?
|
||||
|
||||
data class Internal(
|
||||
val message: AccessibleMessage
|
||||
val message: Message
|
||||
): ReplyInfo {
|
||||
override val messageMeta: Message.MetaInfo
|
||||
get() = message.metaInfo
|
||||
|
@ -251,7 +251,7 @@ internal data class RawMessage(
|
||||
}
|
||||
}
|
||||
|
||||
val asMessage: AccessibleMessage by lazy {
|
||||
val asMessage: Message by lazy {
|
||||
if (date.date == 0L) {
|
||||
return@lazy InaccessibleMessage(
|
||||
chat,
|
||||
|
@ -49,7 +49,7 @@ interface AccessibleMessage : Message
|
||||
data class InaccessibleMessage(
|
||||
override val chat: PreviewChat,
|
||||
override val messageId: MessageId,
|
||||
) : AccessibleMessage {
|
||||
) : Message {
|
||||
override val date: DateTime
|
||||
get() = DateTime.invoke(0L)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user