✅ Text messages
✅ Images
❌ Videos
❌ Documents
❌ Voice messages
Create a .env file in the root directory of the project and add the following variables:
# Your MongoDB connection string
MONGO_URI=mongodb://localhost:27017/
# Your Telegram bot token
TELEGRAM_BOT_TOKEN=HERE_YOUR_TELEGRAM_BOT_TOKEN
# Your Telegram test bot token (optional, for testing purposes)
TELEGRAM_TESTBOT_TOKEN=HERE_YOUR_TELEGRAM_TESTBOT_TOKEN
# Your chrome executable path
CHROME_PATH=C:\Program Files\Google\Chrome\Application\chrome.exe
# Directory to store downloaded files
FILES_DIR=./data/files
# MAX main page URL
MAX_URI=https://web.max.ru/
# Invisible browser mode (true/nothing)
INVISIBLE_BROWSER=
# Enable test mode (true/nothing)
TEST_ONLY=true