Pro - Telegram Bot Framework
A Telegram bot application with multimedia and AI capabilities
Get StartedOverview
Pro is a Python-based Telegram bot framework that appears to integrate multiple AI services, multimedia processing, and translation capabilities. The bot is designed to run in a containerized environment with comprehensive multimedia support.
Key Features
AI
AI Integration
Supports Google Generative AI and G4F services
MP
Multimedia Processing
Audio/video handling with FFmpeg and Mutagen
TS
Translation Services
Multiple translation backends (mtranslate, gpytranslate)
VC
Voice Calls
Telegram voice call support via py-tgcalls
TTS
Text-to-Speech
Google TTS integration
QR
QR Code Generation
Built-in QR code creation
DB
Database Support
SQLite with async operations
ST
Scheduled Tasks
Cron-like scheduling with aiocron
CF
Calendar Functions
Hijri calendar converter
Tech Stack
Python 3.11
Core runtime
Telethon
Telegram client library
FFmpeg
Media processing
SQLite
Database storage
Docker
Containerized deployment
aiohttp
Async HTTP operations
Quick Start
Using Docker (Recommended)
# Build the container
docker build -t pro-bot .
# Run the bot
docker run -d --name pro-bot pro-bot
Local Development
# Install dependencies
pip install -r requirements.txt
# Run the bot
python main.py
Project Structure
main.py: Main bot application (compiled bytecode)requirements.txt: Python dependenciesDockerfile: Container configurationsessions_*.session: Telegram session file
Note: The main application code is compiled to bytecode, making direct inspection of bot functionality limited.