disable cache for cyberlina inline

This commit is contained in:
bakatrouble 2019-11-27 21:36:33 +03:00
parent bddcc562ba
commit e8fd26af2e

View File

@ -91,7 +91,7 @@ class CyberLinaBotModuleConfig(TelegramBotModuleConfig):
input_message_content=InputTextMessageContent(choice(self.inline_reactions['items']))
)
]
update.inline_query.answer(results)
update.inline_query.answer(results, cache_time=0)
def build_dispatcher(self, dispatcher: Dispatcher):
dispatcher.add_handler(CommandHandler('goodmorning', self.goodmorning_handler))