1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-12-07 23:05:40 +00:00

add PossiblySentViaBotCommonMessage and fix error in build

This commit is contained in:
2020-06-05 14:25:19 +06:00
parent ca784e67df
commit ca4beee95f
6 changed files with 22 additions and 13 deletions

View File

@@ -53,8 +53,10 @@
* `TelegramBotAPI`:
* Interface `PossiblySentViaBot` has been added
* Currently, only `ChannelMessage` and `CommonMessageImpl` are implementing interface `PossiblySentViaBot`. It
could be changed in future
* Additional interface `PossiblySentViaBotCommonMessage` was added for more explicit typing declaration for
compiler
* Currently, only `ChannelMessage` and `CommonMessageImpl` are implementing the interface
`PossiblySentViaBotCommonMessage`. It could be changed in future
* Factory `buildMimeType` was added
* `BuiltinMimeTypes` was added
* Abstraction `ThumbedWithMimeTypeInlineQueryResult` with `thumbMimeType` field was added