S
S
SuperZombie2021-06-06 15:52:08
Python
SuperZombie, 2021-06-06 15:52:08

Get a list of all available Telegram chats?

I am writing a bot for telegram. I want to add a mailing list to all users who have ever written to the bot. Is it possible to somehow get a list of all available chats that the bot can write to?
I use pyrogram library.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mikhail Krostelev, 2021-06-06
@SuperZombie

That's not possible right away. In a good way, you need to start the database from the very beginning and enter all new ones there, focusing on the /start command

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question