From e851f3771237d9a2fc33a9906a76b0223568fbb0 Mon Sep 17 00:00:00 2001 From: Igor Starikov Date: Sun, 14 Feb 2016 00:08:37 +0500 Subject: [PATCH] answer_inline_query made POST The default GET produces `414 Request-URI Too Large` response. --- telebot/apihelper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telebot/apihelper.py b/telebot/apihelper.py index 7ae8556..4c13369 100644 --- a/telebot/apihelper.py +++ b/telebot/apihelper.py @@ -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):