mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2026-06-21 18:55:07 +00:00
Add Bot API 10.1 Polls support (Link, InputMediaLink)
Adds the Link type implementing PollMedia (the url attached to a poll option), parses the new `link` field in PollMedia, and adds TelegramMediaLink (InputMediaLink) usable as InputPollOptionMedia. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -2,6 +2,13 @@
|
||||
|
||||
## 35.0.0
|
||||
|
||||
**THIS UPDATE CONTAINS SUPPORT OF [TELEGRAM BOTS API 10.1](https://core.telegram.org/bots/api-changelog#june-11-2026)**
|
||||
|
||||
* `Core`:
|
||||
* (`Polls`) Added `Link` type (`dev.inmo.tgbotapi.types.Link`) implementing `PollMedia`, carrying the `url` of a link attached to a poll option
|
||||
* (`Polls`) Added `link` field parsing to `PollMedia` deserialization/serialization
|
||||
* (`Polls`) Added `TelegramMediaLink` (`InputMediaLink`) implementing `InputPollOptionMedia`, usable as a poll option media
|
||||
|
||||
## 34.0.0
|
||||
|
||||
**THIS UPDATE CONTAINS SUPPORT OF [TELEGRAM BOTS API 10.0](https://core.telegram.org/bots/api-changelog#may-8-2026)**
|
||||
|
||||
Reference in New Issue
Block a user