module to add members to telegam group
Project description
Pyroadd
A simple tool Made for adding members to groups
support logging name
diff wait time
JSON config for numbers and setting
spoof login as an android device
custom device configuration
Config
{
"group_source": "1599603923", # group identifier
"group_target": "1599603923", # group identifier
"group_source_username": "nimmadev", # source group username
"group_target_username": "nimmadev;", # target group username
"from_date_active": "UserStatus.LONG_AGO", # active status
"auto_join": true, # auto join groups
"spam_check": true, # check spam
"wait_time": 300, # wait after each join [waittime/accounts] = real wait for each number
"accounts": [ # add all acount like below
{
"phone": "91857100***2",
"api_id": "676*", # get api key and hashfrom my.telegram.org
"api_hash": "eb06d*****b1aeb98ae0f581e"
}
]
}
usage example
Signup
from pyroadd import pyroadd
app = pyroadd('config.json')
app.Signup('logger-name', 'work_dir')
Login
from pyroadd import pyroadd
app = pyroadd('config.json')
app.Login('logger-name', 'work_dir', False)
Get data
from pyroadd import pyroadd
app = pyroadd('config.json')
app.get_data('logger-name', 'work_dir', 'username' or 'id')
# username will run once for all numbers
# id will run for each number
add member
from pyroadd import pyroadd
app = pyroadd('config.json')
applist = app.Login('logger-name', 'work_dir', True)
app.add_member('logger-name', 'work_dir', 'username' or 'id', applist)
# username will add user with usernames
# id try to add all user even without username
install pyroadd
pip install pyroadd
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyroadd-0.0.4.tar.gz
(7.0 kB
view hashes)