Skip to content

Commit e0ae119

Browse files
committed
Merge pull request eternnoir#116 from idlesign/patch-1
answer_inline_query() made POST
2 parents 40cf8d6 + e851f37 commit e0ae119

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)