This repository provides a template for building Telegram bots using aiogram3, offering a well-structured foundation for your bot development.
- Modern async architecture with aiogram3
- Easy configuration using
.envandconfig.ini - User data stored in PostgreSQL
- Dockerized setup for quick deployment
- Rename the
config.ini.exampleand.env.examplefiles toconfig.iniand.envin the root directory. - Fill in your configuration details in these files.
- Start the bot using Docker Compose:
docker-compose up --build -d
- To stop the bot, run:
docker-compose down
- User information and other persistent data are stored in a PostgreSQL database.
- Make sure to configure your PostgreSQL connection details in the
.envandconfig.inifiles.
- Docker and Docker Compose
- Telegram Bot Token (get it from BotFather)