Skip to content
This repository was archived by the owner on Nov 20, 2025. It is now read-only.
/ RequestAccepter Public archive

Automatically approve join requests for Telegram channels or private groups with premium user filtering.

Notifications You must be signed in to change notification settings

bohd4nx/RequestAccepter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔓 Telegram Join Request Auto-Approver

Automatically approve join requests for Telegram channels and private groups with premium user filtering.

✨ Features

  • 🎯 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

🚀 Quick Start

1. Installation

git clone https://github.com/bohd4nx/RequestAccepter.git
cd RequestAccepter
pip install -r requirements.txt

2. Configuration

Copy example configuration and edit:

cp .env.example .env

Edit .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

3. Bot Setup

  1. Add your bot to the channel/group as administrator
  2. Grant the bot permission to "Invite users via link"
  3. Enable "Add members" for your bot in channel/group settings

Getting Channel/Chat IDs

  1. Forward any message from your channel/group to @userinfobot
  2. Bot will reply with the channel/group ID
  3. Channel IDs are usually negative numbers (e.g., -1001234567890)

4. Run

python main.py

Bot Behavior

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!

About

Automatically approve join requests for Telegram channels or private groups with premium user filtering.

Topics

Resources

Stars

Watchers

Forks

Languages