mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-01-08 19:34:12 +01:00
Merge branch 'bot-api-2.0' into dispatcher-rework
This commit is contained in:
commit
693df6dc2c
1 changed files with 1 additions and 1 deletions
|
@ -797,7 +797,7 @@ class Bot(TelegramObject):
|
|||
data = {'inline_query_id': inline_query_id,
|
||||
'results': results}
|
||||
|
||||
if cache_time:
|
||||
if cache_time or cache_time == 0:
|
||||
data['cache_time'] = int(cache_time)
|
||||
if is_personal:
|
||||
data['is_personal'] = bool(is_personal)
|
||||
|
|
Loading…
Reference in a new issue