Automatically approve join requests for Telegram channels and private groups with premium user filtering.
- 🎯 Auto-Approve Join Requests - Instantly approve pending join requests for channels/groups
- 👑 Premium User Filtering - Option to accept only Telegram Premium subscribers
- 🔄 Multi-Channel Support - Monitor multiple channels and private groups simultaneously
git clone https://github.com/bohd4nx/RequestAccepter.git
cd RequestAccepter
pip install -r requirements.txtCopy example configuration and edit:
cp .env.example .envEdit .env file:
# Get token from @BotFather
BOT_TOKEN=your_bot_token_here
# Channel/Chat IDs to monitor (comma-separated)
CHANNEL_IDS=-1001234567890,-1009876543210
# Accept only premium users
PREMIUM_ONLY=false- Add your bot to the channel/group as administrator
- Grant the bot permission to "Invite users via link"
- Enable "Add members" for your bot in channel/group settings
- Forward any message from your channel/group to @userinfobot
- Bot will reply with the channel/group ID
- Channel IDs are usually negative numbers (e.g.,
-1001234567890)
python main.py| Scenario | Action |
|---|---|
| Valid Join Request | Automatically approves pending join request and logs success |
| Premium Filter Active | If PREMIUM_ONLY=true - rejects non-premium users, accepts premium users only |
| Already Participant | Handles gracefully, logs the event |
| Wrong Channel | Ignores requests from non-configured channels/groups |
Made with ❤️ by @bohd4nx
Star ⭐ this repo if you found it useful!