diff --git a/setup.py b/setup.py index 3690353..cf63146 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ def readme(): return f.read() setup(name='pyTelegramBotAPI', - version='3.2.0', + version='3.2.1', description='Python Telegram bot api. ', long_description=readme(), author='eternnoir', diff --git a/telebot/apihelper.py b/telebot/apihelper.py index 3965c2a..6d5a204 100644 --- a/telebot/apihelper.py +++ b/telebot/apihelper.py @@ -768,7 +768,7 @@ def answer_shipping_query(token, shipping_query_id, ok, shipping_options=None, e method_url = 'answerShippingQuery' payload = {'shipping_query_id': shipping_query_id, 'ok': ok} if shipping_options: - payload['reply_markup'] = _convert_list_json_serializable(shipping_options) + payload['shipping_options'] = _convert_list_json_serializable(shipping_options) if error_message: payload['error_message'] = error_message return _make_request(token, method_url, params=payload)