Added support for Telegram Bot API 9.6

This commit is contained in:
sycho 2026-04-04 03:40:42 +08:00
parent 00c1130938
commit 985fe5dab3
No known key found for this signature in database
GPG key ID: 04B385DB0C97A01E
41 changed files with 696 additions and 71 deletions

View file

@ -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):