P
P
Python Newbie2022-02-03 18:43:07
Parsing
Python Newbie, 2022-02-03 18:43:07

How to get all groups in telegram? How to get all groups in telegram?

Hello, I have a task to get all open groups in telegram. How can I do this with the telegram client and through the telegram client API? It is also possible to have databases with all groups in telegrams. If they exist, please let me know. Thanks in advance.

Hello, I have a task to get all open groups in telegrams. How can I do this with the telegram client and the telegram client API? It is also possible to have databases with all groups in telegrams. If they exist, tell me them. Thank you in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
rPman, 2022-02-04
@rPman

Python Newbie , do not like this nonsense, Dasha Tsiklauri wrote garbage, from the bulldozer
the telegram protocol does not provide tools for obtaining a list of groups ... there is a search query by name, it returns either 3 or 5 names (groups and users) as you can use this method to start filling the group database (as well as look at ready-made databases on the Internet, google the telegram group catalog), sorting through their contents, just look for @[a-z0-9_] and try to go to them, so you will get the vast majority of groups
in python there is a library with good telethon support

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question