Skip to content

Commit e851f37

Browse files
committed
answer_inline_query made POST
The default GET produces `414 Request-URI Too Large` response.
1 parent 40cf8d6 commit e851f37

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎telebot/apihelper.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ def answer_inline_query(token, inline_query_id, results, cache_time=None, is_per
267267
payload['is_personal'] = is_personal
268268
if next_offset:
269269
payload['next_offset'] = next_offset
270-
return _make_request(token, method_url, params=payload)
270+
return _make_request(token, method_url, params=payload, method='post')
271271

272272

273273
def _convert_inline_results(results):

0 commit comments

Comments
 (0)