ImageGate Bot Documentation
Getting Started
ImageGate Bot is an automated Telegram bot that scans directories for images and distributes them according to your configured rules.
Installation
- Deploy the bot to your server
- Configure the environment variables
- Start the bot service
- Interact with the bot through Telegram
Configuration
# Required Environment Variables
TELEGRAM_BOT_TOKEN=your_bot_token_here
SCAN_INTERVAL=10 # Seconds between directory scans
BASE_DIRECTORY=/path/to/scan
Features
Auto Directory Scanning
Scans specified directories every 10 seconds (configurable) for new image files.
Telegram Integration
Sends discovered images directly to your Telegram chat or group.
Conditional Access
Only opens directories and sends images when specific conditions are met.
Saved Messages
Optionally saves all images to the user's Telegram Saved Messages for backup.
Commands
/start - Initialize the bot
/scan - Manually trigger a directory scan
/status - Check bot status
/settings - Configure bot parameters
/help - Show this help message