mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
answer_inline_query made POST
The default GET produces `414 Request-URI Too Large` response.
This commit is contained in:
parent
40cf8d6903
commit
e851f37712
@ -267,7 +267,7 @@ def answer_inline_query(token, inline_query_id, results, cache_time=None, is_per
|
|||||||
payload['is_personal'] = is_personal
|
payload['is_personal'] = is_personal
|
||||||
if next_offset:
|
if next_offset:
|
||||||
payload['next_offset'] = 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):
|
def _convert_inline_results(results):
|
||||||
|
Loading…
Reference in New Issue
Block a user