Test assignment for True Positive Team.
This Telegram bot receives a message with a link to a website and responds with a screenshot of that website.
The bot is available to work in both private and group chats. To work in group chats, the bot needs to be granted permission to read messages:
- Go to the dialogue with the @BotFather bot.
- Select your bot from the list.
- Choose the "Bot Settings" button.
- Select the "Group Privacy" button and click "Disable."
git clone [email protected]:mark-rom/screenshot_bot.git
cd screenshot_bot/
touch .env
The structure for filling the .env file is presented in the example_env file.
docker-compose up -d
Before executing the command, make sure that Docker is running on the machine.
- Python 3.10
- Python-telegram-bot 20.0a2
- PostgreSQL
- SQLAlchemy
- Docker
- Docker Compose