New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
event.answer(url) not working when handled with bot.add_event_handler #4002
Comments
Telethon/telethon/client/updates.py Lines 100 to 125 in 5080715
Could you post a small code sample needed to reproduce the issue? What steps should I take while running the code to see the behavior you describe? |
It's Working when i made a test code but its not working in production with as many as 5bots with 800k users all running on same code Maybe its cuz the event is taking too much time to get processed idk |
I am unable to reproduce this issue (I tried with your URL, and also I am going to close this under the assumption that the problem was in fact a timeout as you point out (I do get the error you describe if I put a normal If you manage to reproduce this issue again, have a way for me to reliably trigger the error, and are certain it's not timing out (by noticing that the time between click and response is fast enough), let me know, and we can reopen the issue. |
event.answer(url="t.me/botname/start?=hi")
not working when handled withclient.add_event_handler()
to assign event handlersits working fine when I use
@client.on(event)
(decorator method) instead ofadd_event_handler()
Traceback
The text was updated successfully, but these errors were encountered: