inline_example
DevMykola opened this issue · comments
Микола commented
- What version of pyTelegramBotAPI are you using?
Last - What OS are you using?
Android 12, one ui - What version of python are you using?
Last
Example "inline_example.py" doesn't work.
@bot.inline_handler(lambda query: query.query == 'text')
def query_text(inline_query):
query_text does not start
Badiboy commented
Any details?
Микола commented
I added details by editing
Badiboy commented
Микола commented
>_run commented
You have to play with allowed_updates in infinity_polling if you are sure that you are not getting the updates.
Badiboy commented
@coder2020official Fast check shown that something is not obvious there. I'll check deeper later.
>_run commented
What do you mean by "something is not obvious there"?
I have been using inline handlers for a long time. I think problem is within the allowed updates list
Микола commented
With allowed_updates in infinity_polling works as it should