Convex import causes telegram bot to not work.
pyTelegramApi does not allow me to work. Error given is:
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.telegram.org:443
DEBUG:urllib3.connectionpool:https://api.telegram.org:443 "GET /bot6583121108:AAEx-N1Qu7g80kyxGiC-5qgkEG1SsKt87q0/getMe HTTP/1.1" 200 195
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.telegram.org:443
Everything works if i dont have the from Convex import ConvexClient line :/ but when i include it, it gives this error
Bots: An introduction for developers
Bots are small applications that run entirely within the Telegram app. Users interact with bots through flexible interfaces…
9 Replies
That's interesting, could you share a script that does this? Do you need a telegram account to reproduce this?
You would need to create a telegram bot using botfather and get the api key
@ballingt Give me a second let me send the code
I don't see the error, what's the error?
This is the error:
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.telegram.org:443
DEBUG:urllib3.connectionpool:https://api.telegram.org/ "GET /bot6583121108:AAEx-N1Qu7g80kyxGiC-5qgkEG1SsKt87q0/getMe HTTP/1.1" 200 195
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.telegram.org:443
Bots: An introduction for developers
Bots are small applications that run entirely within the Telegram app. Users interact with bots through flexible interfaces…
does it still work, but these logs are also printed?
This doesn't look like an error to me
Convex might incorrectly be setting a global log level
Hmm it seems like the bot doesnt work at all even after the start command was given. Without the convex function it was able to run /start and print the message but after commenting it out it works
I'll pm you the code
thank you!
Thanks for the report a d sorry for the inconvenience here, I'll take a look a bit later today
sure! thanks
I've made the fix, it will be in the next release.