Exporting and adding members to channels requires the user from which the script is launched to be a Channel admin.
You'd need python3 and pip3 installed and available in your PATH.
Run pip3 install -r requirements.txt
from the projects root directory.
api_id = 000000 # YOUR API_ID
api_hash = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' # YOUR API_HASH
phone = '+34000000000' # YOUR PHONE NUMBER, INCLUDING COUNTRY CODE
Just follow the instructions in the script after running it from your the shell.
Users can be added using:
Temporarily bans last for up to a day in my experience.
Adding users by Username expects a CSV file with one username per line.
Adding users by User ID expects a CSV file such as: username,user_id,user_access_hash
No headers are expected in the CSV files
Once you have your CSV prepared, just follow the instructions in the script.