south1907 / addmember-telegram Goto Github PK
View Code? Open in Web Editor NEWAdd member auto to telegram group. Link youtube: https://www.youtube.com/watch?v=qnNsgHCMQYk
License: GNU General Public License v3.0
Add member auto to telegram group. Link youtube: https://www.youtube.com/watch?v=qnNsgHCMQYk
License: GNU General Public License v3.0
hello I have a problem i changed the sleeping time but i get a eror can you check this?
https://cdn.discordapp.com/attachments/950489473819496568/969370054699409498/unknown.png
or can you change the sleeping time in 10 sec ? and upload for me please
Traceback (most recent call last):
File "C:\Users\muham\Desktop\addmember-telegram-master\addmember.py", line 95, in
with open(root_path + '/current_count.txt') as f:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\muham\Desktop\addmember-telegram-master/current_count.txt'
Hello,
After adding members to group, telegram service show ... added ... , but after a while some users left group automatically.It seems there is a limit for adding on telegram but how can solve it?
Please Sir update the script. It is showing FileNotFound Exception. Make it completely working.
Is it possible to use the same script with to add members to channels?
I am trying but not working,
is there any way to talk and conslut?
Hi sir You say Remove proxy, but after remove proxy getdata.py error dang nhap khong thanh cong please tell how to fix this
khooeoe
Traceback (most recent call last):
File "addmember.py", line 100, in
total_user = clients[0]['users'].len()
KeyError: 'users'
I am using lastest version python and telethon.
Traceback (most recent call last):
File "init_session.py", line 3, in
from telethon import sync, TelegramClient, events
ImportError: cannot import name 'sync' from 'telethon' (C:\Users\Mutlu\AppData\Local\Programs\Python\Python38-32\lib\site-packages\telethon_init_.py)
In what part of the script do I need to change to numbers to make it sleep longer?
I want it to start with for example 120 seconds instead of 3.3 seconds and than adding up..
I have run it for a few times now and I notice that if it use the client with 120 second that it will stay up longer.
I have in total over 40 clients running.
Thanks for all the effort!
I love your project <3
to get data from a single script rather than listing and getting data from all group previously joined, it would be time saving and accurate.
Hay South if you can't reply or you can't help, why you creat this type of Script, github not for you if you not solve other devlepoers problem
How to fix ' dang nhap khong cong ' if anyone know please tell
This account with phone is not in source group for each account...
Any one know how to create csv
Hello, i'd like to know how can i find this id numbers from my telegram group?
group_target_id
group_source_id
thanks
It's working
๐๐๐๐
hi i have problem with group id how i can find group id source and target i use old version of telegram ad member in that one just should join to group no need group chat id can u help me and tnx for kindly reply
and i have question also in old versions i cant ad user without user name i mean if member dont have username cant ad to group in this platform also same?
Code rapidly finish's all acounts without skipping to next account and i got after each try an "error other" messeage,
All I need to do is to remove the number which the code got stuck on and wait time, but after it does it ,the current_count reaches to maximum and there is no way to remeber where the program stopped
Your script is vary good, but please add current_count
Because it's add one user to multiple time and if you can make it run with single api id, and single api hash id with unlimited numbers than it will be super
Well Done For Your Good Effort But sucessfully Run inti_session And get_data ,finally Whan Running Adder Than Members not adding to targeted group please upload A video if you can thanks
WARNING:telethon.network.mtprotosender:Attempt 1 at connecting failed: TimeoutError:
WARNING:telethon.network.mtprotosender:Attempt 2 at connecting failed: TimeoutError:
WARNING:telethon.network.mtprotosender:Attempt 3 at connecting failed: TimeoutError:
WARNING:telethon.network.mtprotosender:Attempt 4 at connecting failed: TimeoutError:
WARNING:telethon.network.mtprotosender:Connection error 5 during auth_key gen: ConnectionError: Not connected
WARNING:telethon.network.mtprotosender:Connection error 6 during auth_key gen: ConnectionError: Not connected
Traceback (most recent call last):
File "getonlygroup.py", line 21, in
client.connect()
File "/opt/anaconda3/lib/python3.7/site-packages/telethon/sync.py", line 39, in syncified
return loop.run_until_complete(coro)
File "/opt/anaconda3/lib/python3.7/asyncio/base_events.py", line 579, in run_until_complete
return future.result()
File "/opt/anaconda3/lib/python3.7/site-packages/telethon/client/telegrambaseclient.py", line 478, in connect
proxy=self._proxy
File "/opt/anaconda3/lib/python3.7/site-packages/telethon/network/mtprotosender.py", line 125, in connect
await self._connect()
File "/opt/anaconda3/lib/python3.7/site-packages/telethon/network/mtprotosender.py", line 250, in _connect
raise ConnectionError('Connection to Telegram failed {} time(s)'.format(self._retries))
ConnectionError: Connection to Telegram failed 5 time(s)
Telegram say "Need Upgrade APP to Login"
please advise
PS C:\Users\user\Desktop\addmember-telegram-master> python init_session.py
+201007154999
Login success
ERROR:telethon.client.updates:Fatal error handling updates (this is a bug in Telethon, please report it)
Traceback (most recent call last):
File "C:\Users\user\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.7_qbz5n2kfra8p0\LocalCache\local-packages\Python37\site-packages\telethon\client\updates.py", line 339, in _update_loop
updates = await asyncio.wait_for(self._updates_queue.get(), deadline_delay)
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2544.0_x64__qbz5n2kfra8p0\lib\asyncio\tasks.py", line 435, in wait_for
await waiter
concurrent.futures._base.CancelledError
PS C:\Users\user\Desktop\addmember-telegram-master>
I already followed all your steps perfectly. I logged in to accounts but then addmember.py gives error on line no 105 showing array index 'users'. Sir please solve this problem. Thank You ๐
I am using 5 accounts and get an Error:"too many requests (caused by invite to channel request)"
sleeps 120/5 sec ea
Number is not in source group, how to fix?
current_index: 0
1
current_index: 0
2
current_index: 0
3
current_index: 0
4
current_index: 0
5
current_index: 0
6
current_index: 0
7
current_index: 0
8
current_index: 0
9
current_index: 0
10
I got this error when running the program and it will delete my client instead of trying with another member. I stopped running for 1 day to make sure list accounts wasn't blocked for spam.
Error other Traceback (most recent call last): File "add_member.py", line 141, in <module> client(InviteToChannelRequest(target_group_entity,[user_to_add])) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38-32\lib\site-packages\telethon\sync.py", line 39, in syncified return loop.run_until_complete(coro) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38-32\lib\asyncio\base_events.py", line 616, in run_until_complete return future.result() File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38-32\lib\site-packages\telethon\client\users.py", line 30, in __call__ return await self._call(self._sender, request, ordered=ordered) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38-32\lib\site-packages\telethon\client\users.py", line 77, in _call result = await future telethon.errors.rpcerrorlist.UserNotMutualContactError: The provided user is not a mutual contact (caused by InviteToChannelRequest)
Thanks you for support
Finally your script is working now thanks but please tell how to convert normal group to super group
What is Current_count.txt and errors how to fill or what write on Current_count.txt
WARNING:telethon.network.mtprotosender:Attempt 1 at connecting failed: TimeoutError:
WARNING:telethon.network.mtprotosender:Attempt 2 at connecting failed: TimeoutError:
WARNING:telethon.network.mtprotosender:Attempt 3 at connecting failed: TimeoutError:
WARNING:telethon.network.mtprotosender:Attempt 4 at connecting failed: TimeoutError:
WARNING:telethon.network.mtprotosender:Attempt 5 at connecting failed: TimeoutError:
WARNING:telethon.network.mtprotosender:Attempt 6 at connecting failed: TimeoutError:
Traceback (most recent call last):
File "C:\Users\muham\Desktop\addmember-telegram-master\addmember.py", line 45, in
client.connect()
File "C:\Users\muham\AppData\Local\Programs\Python\Python37-32\lib\site-packages\telethon\sync.py", line 39, in syncified
return loop.run_until_complete(coro)
File "C:\Users\muham\AppData\Local\Programs\Python\Python37-32\lib\asyncio\base_events.py", line 587, in run_until_complete
return future.result()
File "C:\Users\muham\AppData\Local\Programs\Python\Python37-32\lib\site-packages\telethon\client\telegrambaseclient.py", line 486, in connect
proxy=self._proxy
File "C:\Users\muham\AppData\Local\Programs\Python\Python37-32\lib\site-packages\telethon\network\mtprotosender.py", line 123, in connect
await self._connect()
File "C:\Users\muham\AppData\Local\Programs\Python\Python37-32\lib\site-packages\telethon\network\mtprotosender.py", line 248, in _connect
raise ConnectionError('Connection to Telegram failed {} time(s)'.format(self._retries))
ConnectionError: Connection to Telegram failed 5 time(s)
File "init_session.py", line 1, in
from telethon import TelegramClient, connection
ImportError: cannot import name 'connection' from 'telethon'
C:\Users\User\Desktop\addmember-telegram-master>python init_session.py
Traceback (most recent call last):
File "init_session.py", line 1, in
from telethon import TelegramClient, connection
ImportError: No module named telethon
i am using windows 10
It doenst send code to create a session
What is the format? Is timestamp?
https://github.com/south1907/addmember-telegram/blob/master/config.example.json#L6
telethon.errors.rpcerrorlist.PeerFloodError: Too many requests (caused by InviteToChannelRequest)
Hello and thank you for your nice project here
recently I face this issue for all my accounts very soon maybe after 10 user adds:
Error Fooling cmnr
Traceback (most recent call last):
File "c:\github\add_member.py", line 141, in
client(InviteToChannelRequest(target_group_entity,[user_to_add]))
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\site-packages\telethon\sync.py", line 39, in syncified
return loop.run_until_complete(coro)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py", line 642, in run_until_complete
return future.result()
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\site-packages\telethon\client\users.py", line 30, in call
return await self._call(self._sender, request, ordered=ordered)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python39\lib\site-packages\telethon\client\users.py", line 77, in _call
result = await future
telethon.errors.rpcerrorlist.PeerFloodError: Too many requests (caused by InviteToChannelRequest)
and project stops working
the user is not limited yet but this issue happens, what can be the cause?
"C:\Users\Amiya Kumar Ghosh\PycharmProjects\pythonProject5\venv\Scripts\python.exe" "C:/Users/Amiya Kumar Ghosh/Desktop/New folder (6)/addmember-telegram-master/add_member.py"
C:\Users\Amiya Kumar Ghosh\Desktop\New folder (6)\addmember-telegram-master
Total account: 1
+12168151042 login success
remain client: 1
current_index: 0
Error Fooling cmnr
remove client: +12168151042
remain client: 0
END: accounts is empty
disconnect
total: 0
total time: 0:00:03.925931
Traceback (most recent call last):
File "C:/Users/Amiya Kumar Ghosh/Desktop/New folder (6)/addmember-telegram-master/add_member.py", line 141, in
client(InviteToChannelRequest(target_group_entity,[user_to_add]))
File "C:\Users\Amiya Kumar Ghosh\PycharmProjects\pythonProject5\venv\lib\site-packages\telethon\sync.py", line 39, in syncified
return loop.run_until_complete(coro)
File "C:\Users\Amiya Kumar Ghosh\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 616, in run_until_complete
return future.result()
File "C:\Users\Amiya Kumar Ghosh\PycharmProjects\pythonProject5\venv\lib\site-packages\telethon\client\users.py", line 30, in call
return await self._call(self._sender, request, ordered=ordered)
File "C:\Users\Amiya Kumar Ghosh\PycharmProjects\pythonProject5\venv\lib\site-packages\telethon\client\users.py", line 77, in _call
result = await future
telethon.errors.rpcerrorlist.PeerFloodError: Too many requests (caused by InviteToChannelRequest)
Process finished with exit code 0
Any one please help how to fix dang nhap khong thanh cong whan run getdata.py
does this add all people from the group or just the ones with username? from what i see many projects only add by username and not telegram id and because many of the telegram users dont have usernames it becomes a prblem as in even a 5k group only 50 have usernames
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.