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

Merge pull request #116 from idlesign/patch-1

answer_inline_query() made POST
This commit is contained in:
FrankWang 2016-02-15 16:19:55 +08:00
commit e0ae119512

View File

@ -267,7 +267,7 @@ def answer_inline_query(token, inline_query_id, results, cache_time=None, is_per
payload['is_personal'] = is_personal
if next_offset:
payload['next_offset'] = next_offset
return _make_request(token, method_url, params=payload)
return _make_request(token, method_url, params=payload, method='post')
def _convert_inline_results(results):