mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Added support for Telegram Bot API 9.6
This commit is contained in:
parent
00c1130938
commit
985fe5dab3
41 changed files with 696 additions and 71 deletions
|
|
@ -9,13 +9,14 @@ class TestShippingQueryHandler:
|
|||
event = Poll(
|
||||
id="query",
|
||||
question="Q?",
|
||||
options=[PollOption(text="A1", voter_count=1)],
|
||||
options=[PollOption(persistent_id="1", text="A1", voter_count=1)],
|
||||
is_closed=True,
|
||||
is_anonymous=False,
|
||||
type="quiz",
|
||||
allows_multiple_answers=False,
|
||||
allows_revoting=False,
|
||||
total_voter_count=0,
|
||||
correct_option_id=0,
|
||||
correct_option_ids=[0],
|
||||
)
|
||||
|
||||
class MyHandler(PollHandler):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue