A
A
aqau1232021-12-19 00:27:55
Telegram
aqau123, 2021-12-19 00:27:55

How to bypass telegram restrictions on global group search?

61be516e7f58d220968912.jpeg
as you can see, there are only 10 groups at the output. but I just don't believe that there can be only 10 groups according to such a publicized key. and so not only on this key.

async def collectGroups(client: TelegramClient, query: str):
    results = await client(functions.contacts.SearchRequest(
        q=query,
        limit=100,
    ))
    return results

async def boundCollectGroups(limit: asyncio.BoundedSemaphore, client: TelegramClient, query: str):
    async with limit:
        return await collectGroups(client=client, query=query)

here is the code to get the results. no matter how popular the word is, it still gives out only 10 groups.
is it possible to get around this somehow?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question