0

How can I get list of archived chats with pyrogram? or with any other python library?

I have searched a lot in documentation and goolge, couldn't find anything.

looks like not implemented in pyrogram.

---------------------------------------------

EBRAHIM
  • 17
  • 5

1 Answers1

2

For telethon use get_dialogs(archived=True).

For pyrogram it's not implements in native get_dialogs, use the raw api messages.getDialog with folder_id=1. copy the library source code of get_dialogs, and re-implement it with said parameter.

MustA
  • 932
  • 5
  • 8