Add changelog fragment generator and update poll parameter descriptions

This commit is contained in:
JRoot Junior 2026-04-04 01:11:33 +03:00
parent e3c4a18b28
commit 09f3786e35
No known key found for this signature in database
GPG key ID: 738964250D5FF6E2
2 changed files with 51 additions and 0 deletions

View file

@ -43,6 +43,7 @@ Updated to `Bot API 9.6 <https://core.telegram.org/bots/api-changelog#april-3-20
*New Parameters for* :class:`aiogram.methods.send_poll.SendPoll`:
- Replaced :code:`correct_option_id` with :code:`correct_option_ids` - supports multiple correct answers for quiz polls
- Added :code:`allows_revoting` - allows users to change their vote after submission
- Added :code:`shuffle_options` - randomizes the order of poll options for each user
- Added :code:`allow_adding_options` - allows users to add their own poll options