mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
parent
3986f33d3a
commit
46c803bf55
2
setup.py
2
setup.py
@ -7,7 +7,7 @@ def readme():
|
|||||||
return f.read()
|
return f.read()
|
||||||
|
|
||||||
setup(name='pyTelegramBotAPI',
|
setup(name='pyTelegramBotAPI',
|
||||||
version='3.2.0',
|
version='3.2.1',
|
||||||
description='Python Telegram bot api. ',
|
description='Python Telegram bot api. ',
|
||||||
long_description=readme(),
|
long_description=readme(),
|
||||||
author='eternnoir',
|
author='eternnoir',
|
||||||
|
@ -768,7 +768,7 @@ def answer_shipping_query(token, shipping_query_id, ok, shipping_options=None, e
|
|||||||
method_url = 'answerShippingQuery'
|
method_url = 'answerShippingQuery'
|
||||||
payload = {'shipping_query_id': shipping_query_id, 'ok': ok}
|
payload = {'shipping_query_id': shipping_query_id, 'ok': ok}
|
||||||
if shipping_options:
|
if shipping_options:
|
||||||
payload['reply_markup'] = _convert_list_json_serializable(shipping_options)
|
payload['shipping_options'] = _convert_list_json_serializable(shipping_options)
|
||||||
if error_message:
|
if error_message:
|
||||||
payload['error_message'] = error_message
|
payload['error_message'] = error_message
|
||||||
return _make_request(token, method_url, params=payload)
|
return _make_request(token, method_url, params=payload)
|
||||||
|
Loading…
Reference in New Issue
Block a user