Telegram bot structure template
- If you don't have a virtual environment, use
python3 -m venv venv - use
pip3 install -r requirements.txt - or use:
pip3 install aiogram
pip3 install environs
pip3 freeze > requirements.txt
Enter your token and admin id in the config.txt file, then run main.py. Then the bot will start working and send you messages about starting and stopping the bot.