How to test a bot for a telegram on a local machine? I have a bot that receives messages through the webhook. The bot is written in python and saved on google app engine servers. I use the flask framework. Now I am correcting the bot code locally, then uploading it to the server and thus testing it. Maybe there is an opportunity to test the bot locally, before uploading to the server? If you run the bot script for execution on a local machine, and then in the browser line, specify the url with a hook like http://127.0.0.1:8080/HOOK , the messages do not come. Tell me how to test on a local machine?

1 answer 1

what did not please pyCharm? There is a community version (free). Run the code on the local machine, and test. Do you have a URL for the webhuk in the code?