1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

API update fix 02

This commit is contained in:
Badiboy
2021-08-18 19:36:48 +03:00
parent b2b7d90888
commit 8053183cb5
2 changed files with 6 additions and 6 deletions

View File

@ -1485,7 +1485,7 @@ def send_poll(
question, options,
is_anonymous = None, type = None, allows_multiple_answers = None, correct_option_id = None,
explanation = None, explanation_parse_mode=None, open_period = None, close_date = None, is_closed = None,
disable_notifications=False, reply_to_message_id=None, allow_sending_without_reply=None,
disable_notification=False, reply_to_message_id=None, allow_sending_without_reply=None,
reply_markup=None, timeout=None, explanation_entities=None):
method_url = r'sendPoll'
payload = {
@ -1515,8 +1515,8 @@ def send_poll(
if is_closed is not None:
payload['is_closed'] = is_closed
if disable_notifications:
payload['disable_notification'] = disable_notifications
if disable_notification:
payload['disable_notification'] = disable_notification
if reply_to_message_id is not None:
payload['reply_to_message_id'] = reply_to_message_id
if allow_sending_without_reply is not None: