mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-22 08:13:47 +00:00
fixes
This commit is contained in:
parent
ec48708195
commit
3823b03453
13
CHANGELOG.md
13
CHANGELOG.md
@ -2,6 +2,10 @@
|
|||||||
|
|
||||||
## 3.0.0
|
## 3.0.0
|
||||||
|
|
||||||
|
**ALL OLD DEPRECATIONS HAVE BEEN REMOVED**
|
||||||
|
|
||||||
|
**`copyMessage` HAVE CHANGED THEIR SIGNATURE BY SWAPPING FROM AND TO CHAT IDS**
|
||||||
|
|
||||||
* `Versions`:
|
* `Versions`:
|
||||||
* `Kotlin`: `1.6.21` -> `1.7.10`
|
* `Kotlin`: `1.6.21` -> `1.7.10`
|
||||||
* `Serialization`: `1.3.3` -> `1.4.0-RC`
|
* `Serialization`: `1.3.3` -> `1.4.0-RC`
|
||||||
@ -10,8 +14,17 @@
|
|||||||
* `MicroUtils`: `0.11.13` -> `0.12.0`
|
* `MicroUtils`: `0.11.13` -> `0.12.0`
|
||||||
* `Core`:
|
* `Core`:
|
||||||
* Interface `ReplyMakrup` has been renamed to `WithReplyMarkup` to correspond its purpose
|
* Interface `ReplyMakrup` has been renamed to `WithReplyMarkup` to correspond its purpose
|
||||||
|
* Data class `LeftChatMember` has been renamed to `LeftChatMemberEvent` to avoid type ambiguite with the other `LeftChatMember`
|
||||||
|
* `ForwardInfo` hierarchy has been fully reworked:
|
||||||
|
* `AnonymousForwardInfo` -> `ForwardInfo.ByAnonymous`
|
||||||
|
* `UserForwardInfo` -> `ForwardInfo.ByUser`
|
||||||
|
* `ForwardFromPublicChatInfo` -> `ForwardInfo.PublicChat`
|
||||||
|
* `ForwardFromChannelInfo` -> `ForwardInfo.PublicChat.FromChannel`
|
||||||
|
* `ForwardFromSupergroupInfo` -> `ForwardInfo.PublicChat.FromSupergroup`
|
||||||
|
* `ForwardInfo.PublicChat.SentByChannel` ___has been created___
|
||||||
* `API`:
|
* `API`:
|
||||||
* Add new `Flow`-based live locations API
|
* Add new `Flow`-based live locations API
|
||||||
|
* Add `sendLocation` for sending live locations
|
||||||
* `Utils`:
|
* `Utils`:
|
||||||
* **BREAKING CHANGES** Now all new classcasts (like `Chat.ifPrivateChat` etc.) have been rewritten to be generated with `ksp` and `kotlin poet`
|
* **BREAKING CHANGES** Now all new classcasts (like `Chat.ifPrivateChat` etc.) have been rewritten to be generated with `ksp` and `kotlin poet`
|
||||||
|
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
package dev.inmo.tgbotapi.utils.internal
|
|
||||||
|
|
||||||
import dev.inmo.tgbotapi.utils.RiskFeature
|
|
Loading…
Reference in New Issue
Block a user