mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-26 03:58:44 +00:00
filling of changelog and several fixes
This commit is contained in:
parent
49bea1bcef
commit
d6cef5984b
14
CHANGELOG.md
14
CHANGELOG.md
@ -1,10 +1,22 @@
|
|||||||
# TelegramBotAPI changelog
|
# TelegramBotAPI changelog
|
||||||
|
|
||||||
## 0.37.2
|
## 0.37.2 Telegram Bot API 5.5
|
||||||
|
|
||||||
* `Common`:
|
* `Common`:
|
||||||
* `Version`:
|
* `Version`:
|
||||||
* `MicroUtils`: `0.8.2` -> `0.8.7`
|
* `MicroUtils`: `0.8.2` -> `0.8.7`
|
||||||
|
* `Core`:
|
||||||
|
* New request type: `ChatSenderRequest`
|
||||||
|
* New request `BanChatSenderChat`
|
||||||
|
* New request `UnbanChatSenderChat`
|
||||||
|
* `ExtendedPrivateChat` got new properties: `hasPrivateForwards` and `allowCreateUserIdLink` (same as `hasPrivateForwards`)
|
||||||
|
* All `ContentMessage` got field `forwardable` (old constructors marked as `Deprecated`)
|
||||||
|
* `ChannelContentMessage` has been divided for two interfaces (and corresponding classes):
|
||||||
|
* `ConnectedChannelContentMessage` (and `ConnectedChannelContentMessageImpl`) for connected to the group channels messages
|
||||||
|
* `UnconnectedChannelContentMessage` (and `UnconnectedChannelContentMessageImpl`) for unconnected channels
|
||||||
|
* `API`:
|
||||||
|
* New extensions `TelegramBot#banChatSenderChat`
|
||||||
|
* New extensions `TelegramBot#unbanChatSenderChat`
|
||||||
* `Utils`:
|
* `Utils`:
|
||||||
* Fix of `EntitiesBuilder#linkln`
|
* Fix of `EntitiesBuilder#linkln`
|
||||||
|
|
||||||
|
@ -7,5 +7,5 @@ interface ContentMessage<T: MessageContent>: Message {
|
|||||||
val content: T
|
val content: T
|
||||||
|
|
||||||
val hasProtectedContent: Boolean
|
val hasProtectedContent: Boolean
|
||||||
get() = forwardable
|
get() = !forwardable
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user