Professional Telegram Automation Solution
A powerful Python-based Telegram automation tool with an intuitive graphical interface for member scraping, adding, and bulk messaging operations.
Features โข Installation โข Usage โข Documentation โข Releases
Developer: Can Kurt | @ck-cankurt
Organization: Ubdenยฎ | ubden.com
IMPORTANT LEGAL NOTICE / รNEMLฤฐ YASAL UYARI
English: This tool is provided for educational and research purposes only. The developers and contributors of this project are not responsible for any misuse, damage, or legal consequences resulting from the use of this software. Users are solely responsible for ensuring their usage complies with:
- Telegram's Terms of Service
- Local and international laws and regulations
- Privacy and data protection regulations (GDPR, KVKK, etc.)
- Anti-spam and communication laws
Automated actions on Telegram may result in account restrictions, bans, or legal action. Use at your own risk. By using this software, you acknowledge and accept full responsibility for your actions.
Tรผrkรงe: Bu araรง yalnฤฑzca eฤitim ve araลtฤฑrma amaรงlฤฑdฤฑr. Bu projenin geliลtiricileri ve katkฤฑda bulunanlar, bu yazฤฑlฤฑmฤฑn kullanฤฑmฤฑndan kaynaklanan herhangi bir kรถtรผye kullanฤฑm, hasar veya yasal sonuรงtan sorumlu deฤildir. Kullanฤฑcฤฑlar, kullanฤฑmlarฤฑnฤฑn aลaฤฤฑdakilere uygun olduฤundan emin olmaktan yalnฤฑzca kendileri sorumludur:
- Telegram Kullanฤฑm ลartlarฤฑ
- Yerel ve uluslararasฤฑ yasa ve dรผzenlemeler
- Gizlilik ve veri koruma dรผzenlemeleri (GDPR, KVKK, vb.)
- Spam รถnleme ve iletiลim yasalarฤฑ
Telegram'da otomatik iลlemler hesap kฤฑsฤฑtlamalarฤฑna, yasaklamalara veya yasal iลlemlere yol aรงabilir. Riski size aittir. Bu yazฤฑlฤฑmฤฑ kullanarak, eylemlerinizin tรผm sorumluluฤunu kabul ettiฤinizi onaylarsฤฑnฤฑz.
| Feature | Description |
|---|---|
| ๐ฅ Multi-Account Support | Configure and use multiple Telegram accounts simultaneously |
| ๐ Member Scraping | Extract member information from Telegram groups with precision |
| โ Member Adding | Add scraped members to target channels/groups efficiently |
| ๐ฌ Bulk Messaging | Send private messages to multiple group members at once |
| ๐ Proxy Support | Route API requests through HTTP proxies with authentication |
| โฑ๏ธ Flood Control | Configurable delays to avoid Telegram rate limits |
| ๐ Secure Storage | Encrypted configuration and session management |
| ๐น๐ท Turkish Interface | Fully localized Turkish GUI with detailed instructions |
| ๐ GUI Authentication | In-app authentication dialogs (no terminal input needed) |
- Python 3.8 or higher
- Telegram API credentials (API ID and API Hash)
- Internet connection for Telegram API access
- Operating System: Windows, Linux, or macOS
# Clone the repository
git clone https://github.com/ubden/telegram-tools.git
cd telegram-tools
# Create virtual environment
python -m venv .venv
# Activate virtual environment
# Windows:
.venv\Scripts\activate
# Linux/Mac:
source .venv/bin/activate
# Install dependencies
pip install -r requirements.txt
# Run the application
python main.py- Visit the Releases page
- Download the latest
TelegramTools-vX.X.X.exe - Run the executable - no installation required!
graph LR
A[Visit my.telegram.org] --> B[Login with phone]
B --> C[API development tools]
C --> D[Fill application details]
D --> E[Create application]
E --> F[Copy API ID & Hash]
- ๐ Go to https://my.telegram.org
- ๐ฑ Log in with your phone number
- ๐ ๏ธ Click on "API development tools"
- ๐ Fill in the application details:
- App title: Any name (e.g., "My Telegram Tools")
- Short name: Any short name (e.g., "mytools")
- Platform: Desktop
- โ Click "Create application"
- ๐ Copy your API ID and API Hash
Click to expand configuration steps
- Enter your API IDs and API Hashes (comma-separated for multiple accounts)
- Configure proxy settings (optional)
- Set flood control time (delay between operations in seconds)
- Enter source group and target channel names
- Click "Bilgileri Kaydet" to save
Click to expand scraping & adding steps
- Ensure configuration is saved
- Click "ฤฐลlemi Baลlat" to begin
- First time authentication:
- Enter phone number (e.g.,
+905551234567) - Enter verification code from Telegram
- Enter 2FA password if enabled
- Enter phone number (e.g.,
- Monitor progress in the log area
- View success/failure statistics
Click to expand bulk messaging steps
Adding Groups:
- Type group name or link in the input field
- Click "โ Ekle" or press Enter
- Format:
@groupnameorhttps://t.me/groupname
Sending Messages:
- Select groups from the list (Ctrl+Click for multiple)
- Write your message in the text area
- Click "Mesaj Gรถnder" to start sending
- Monitor progress and statistics
Group Management:
- โ Ekle: Add new group to list
- ๐๏ธ Seรงileni Sil: Remove selected groups
- ๐๏ธ Tรผmรผnรผ Temizle: Clear all groups
telegram-tools/
โโโ ๐ src/ # Source code
โ โโโ ๐ config.py # Configuration management
โ โโโ ๐ session_manager.py # Telegram session handling
โ โโโ ๐ scraper.py # Member scraping module
โ โโโ ๐ adder.py # Member adding module
โ โโโ ๐ bulk_messenger.py # Bulk messaging module
โ โโโ ๐ flood_controller.py# Rate limiting
โ โโโ ๐ gui.py # Graphical user interface
โ โโโ ๐ logger.py # Logging configuration
โ โโโ ๐ models.py # Data models
โโโ ๐ tests/ # Test suite
โโโ ๐ config/ # Configuration directory
โโโ ๐ main.py # Application entry point
โโโ ๐ requirements.txt # Python dependencies
โโโ ๐ README.md # This file
โโโ ๐ .github/workflows/ # CI/CD workflows
| Component | Security Measure |
|---|---|
| ๐ API Credentials | Fernet encryption |
| ๐พ Configuration | ~/.telegram-tools/config.json (encrypted) |
| ๐ฑ Session Files | ~/.telegram-tools/sessions/ (encrypted) |
| ๐ Logs | ~/.telegram-tools/app.log |
Note: All sensitive data is encrypted using industry-standard Fernet encryption to ensure maximum security.
โก Respect Telegram's Terms of Service: Excessive automation may result in account restrictions
โฑ๏ธ Use Flood Control: Set appropriate delays (recommended: 30-60 seconds)
๐งช Test with Small Groups: Start with small groups to test functionality
๐พ Backup Sessions: Keep backup of session files to avoid re-authentication
Run tests using pytest:
# Run all tests
python -m pytest tests/ -v
# Run specific test categories
python -m pytest tests/test_config.py -v
python -m pytest tests/test_session_manager.py -vFor Windows users who don't want to install Python:
- Go to the Releases page
- Download the latest
TelegramTools-vX.X.X.exefile - Run the executable - no installation required!
System Requirements:
- โ Windows 7 or later
- โ No Python installation needed
- โ No additional dependencies required
Releases are created automatically using GitHub Actions when you push a version tag.
Click to expand release process
Step-by-Step Release Process:
-
Ensure your code is ready:
git status git add . git commit -m "Prepare for release v1.0.0"
-
Create and push a version tag:
# Create an annotated tag git tag -a v1.0.0 -m "Release version 1.0.0 - Initial stable release" # Push the tag to GitHub git push origin v1.0.0
-
Monitor the workflow:
- Go to the Actions tab
- Watch the "Build and Release" workflow execute
-
Verify the release:
- Check the Releases page
- Download and test the executable
โ "Can't find a usable init.tcl" Error
- This is automatically fixed by the application
- If persists, ensure Python is properly installed with tkinter support
๐ Authentication Issues
- Ensure phone number includes country code (e.g.,
+905551234567) - Check that verification code is entered correctly
- Verify 2FA password if enabled
๐ "The key is not registered" Error
- Session needs authentication
- Delete session files in
~/.telegram-tools/sessions/and re-authenticate
โฑ๏ธ Flood Errors
- Increase flood control time in configuration
- Wait before retrying operations
- Use fewer accounts or slower operation speed
| Package | Version | Purpose |
|---|---|---|
| telethon | >=1.34.0 | Telegram API client library |
| cryptography | >=41.0.0 | Encryption for sensitive data |
| hypothesis | >=6.92.0 | Property-based testing |
| tkinter | Built-in | GUI framework |
Contributions are welcome! Please feel free to:
- ๐ Report bugs
- ๐ก Suggest new features
- ๐ง Submit pull requests
- ๐ Improve documentation
If you find this project useful, consider supporting the development:
Ubden Link Shortener and Social Tools
Support the project and get access to premium features!
Your support helps maintain and improve this project. Thank you! โค๏ธ
Stay updated with the latest developments:
Organization: github.com/ubden
Developer: github.com/ck-cankurt
License to be determined. Please contact the developer for usage permissions.
Telegram Tools by Ubdenยฎ
Professional Telegram Automation Solution
Made with โค๏ธ by Can Kurt
โญ Star this repository if you find it useful! โญ