Reputation: 337
I'm trying to use telethon to get the information of archived folders, I've noticed that in telegram if you delete an archvied chat and create it again it goes to the archive again, so I wanted to know if there's a way to find all archived chats regardless of whether they're deleted or not.
I don't understand how this could be done except for using client.get_dialogs()
and then checking for whether it's archived or not, which won't list a chat if it's deleted.
Is this even possible? If yes, how?
I tried using client.get_dialogs()
then filtering only archived dialogs but that only returned not-deleted dialogs.
Upvotes: 0
Views: 32