GithubHelp home page GithubHelp logo

south1907 / addmember-telegram Goto Github PK

View Code? Open in Web Editor NEW
246.0 26.0 229.0 311 KB

Add member auto to telegram group. Link youtube: https://www.youtube.com/watch?v=qnNsgHCMQYk

License: GNU General Public License v3.0

Python 100.00%
telegram add member telegram-api telethon addmember telegram-bot

addmember-telegram's People

Contributors

ash-ketchem avatar danielthegeek avatar kumarabhiii avatar nimma0001 avatar south1907 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

addmember-telegram's Issues

Error on line no 95 in addmember.py file.

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'

Add successful but..

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?

addmember.py not working

Please Sir update the script. It is showing FileNotFound Exception. Make it completely working.

Adding to Channel

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?

Error After Remove Proxy

Hi sir You say Remove proxy, but after remove proxy getdata.py error dang nhap khong thanh cong please tell how to fix this

Addmember.py error

khooeoe
Traceback (most recent call last):
File "addmember.py", line 100, in
total_user = clients[0]['users'].len()
KeyError: 'users'

File "init_session.py", line 3, in <module>

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)

It works, but I need help

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

dang nhap khong thanh cong not creat csv

All numbers login success with init_session.py
1
After that run get_data.py
Error coming
2
And getgetdata. py error
3
finally addmember.py error
4

So South 1907 or any one please tell me how to fix this issue

how to find group id

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

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

Vary Good but....

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

Vary Good Effort But Members Not Adding

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

:telethon.network.mtprotosender:Attempt 1 at connecting failed: TimeoutError:

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)

DOCS: Best practices

  1. The number of 20 Telegram accounts to invite members is a recommendation, correct? Can I add more or less accounts if I want?
  2. Is there any recommendation on the minimum number of accounts that should be used depending on the size of the group? If the group has 1000 members for example, what is the minimum number of accounts you recommend to invite members?
  3. If during the bulk add member process, all telegram accounts are suspended by flood error, is it safe to run the same script all the time and will it keep adding from the last known user?

a bug in Telethon

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>

Error on line no 105 in addmember.py file.

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 ๐Ÿ˜Š

How to solve this problem

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

Error when add member

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

Goooood

Finally your script is working now thanks but please tell how to convert normal group to super group

Error when running addmember.py

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)

connection issues through telethon

File "init_session.py", line 1, in
from telethon import TelegramClient, connection
ImportError: cannot import name 'connection' from 'telethon'

ImportError: No module named 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

Flood Error

telethon.errors.rpcerrorlist.PeerFloodError: Too many requests (caused by InviteToChannelRequest)

some weird issue

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?

please help me

"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

getdata.py Error

Any one please help how to fix dang nhap khong thanh cong whan run getdata.py

adding by telegram id?

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.