Simple script to set telegram webhook to local machine with ngrok when develop telegram bots
- First you need to upload ngrok sctipt from here https://ngrok.com and add bash script in main directory.
- After you need to add number your localhost application port and your token bot in file config.py
- Run file run_ngrok.py (don't close shell window with process)
- Run file set_web_hook.py it's delete old webhook and set new