1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-12-04 21:35:44 +00:00

PreviewFeature, message links

This commit is contained in:
2020-01-20 16:35:36 +06:00
parent 63e0f5c054
commit 92224b95df
3 changed files with 52 additions and 0 deletions

View File

@@ -71,6 +71,12 @@ mistake - don't hesitate to say this.**
### 0.22.1 MediaContent#asInputMedia
* All `MediaContent` instances now can create their `InputMedia` analog
* New annotation `PreviewFeature` was added to mark new thing as preview for the time
while they can work incorrectly
* Added links utils:
* `makeLinkToMessage` have two signatures - for direct creating using username and for abstract creating using
chat id
* `makeFileLink` is unsafe way to create file link
## 0.21.0 TelegramBotAPI 4.5