1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00
This commit is contained in:
dr_forse 2020-05-12 18:09:04 +01:00
parent 200c6ccd07
commit d04e708438

View File

@ -61,8 +61,9 @@ def update_type(message):
shipping_query = None
pre_checkout_query = None
poll = None
poll_answer = None
return types.Update(1001234038283, message, edited_message, channel_post, edited_channel_post, inline_query,
chosen_inline_result, callback_query, shipping_query, pre_checkout_query, poll)
chosen_inline_result, callback_query, shipping_query, pre_checkout_query, poll, poll_answer)
@pytest.fixture()
@ -76,9 +77,10 @@ def reply_to_message_update_type(reply_to_message):
shipping_query = None
pre_checkout_query = None
poll = None
poll_answer = None
return types.Update(1001234038284, reply_to_message, edited_message, channel_post, edited_channel_post,
inline_query,
chosen_inline_result, callback_query, shipping_query, pre_checkout_query, poll)
chosen_inline_result, callback_query, shipping_query, pre_checkout_query, poll, poll_answer)
def next_handler(message):