mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
fix next_offset is empty will not set bug.
This commit is contained in:
parent
225cbf2c61
commit
e913635755
@ -395,7 +395,7 @@ def answer_inline_query(token, inline_query_id, results, cache_time=None, is_per
|
|||||||
payload['cache_time'] = cache_time
|
payload['cache_time'] = cache_time
|
||||||
if is_personal:
|
if is_personal:
|
||||||
payload['is_personal'] = is_personal
|
payload['is_personal'] = is_personal
|
||||||
if next_offset:
|
if next_offset is not None:
|
||||||
payload['next_offset'] = next_offset
|
payload['next_offset'] = next_offset
|
||||||
if switch_pm_text:
|
if switch_pm_text:
|
||||||
payload['switch_pm_text'] = switch_pm_text
|
payload['switch_pm_text'] = switch_pm_text
|
||||||
|
Loading…
x
Reference in New Issue
Block a user