Step 1 : Get the API ID and API HASH from Telegram
Note: You need to login to your Telegram account to access this page and get the API ID and API HASH. MORE INFO
pip install -r requirements.txt
Step 3 : Create a file named users.txt
and add the usernames of the users you want to add to the group
username1
username2
username3
API_ID=your_api_id
API_HASH=your_api_hash
PHONE=your_phone_number
TELEGRAM_GROUP_USERNAME=your_telegram_group_username
Note: if you don't have a Telegram group, you can create one and get the username. or you can run the script group_list.py to get all the groups you are in.
python main.py