Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Allow dialog methods to fetch archived chats #511
Conversation
get_dialogs_count/get_dialogs/iter_dialogs: Added "archived_only" kwarg. types.Dialog: Added "is_archived" boolean attribute.
|
Hi. Two issues:
I believe the whole method needs a rewrite to allow an easier implementation and usage, in order to allow every possible case. Maybe pinned dialogs should also be fetched using a separate convenience method? |
|
You're correct about those issues, I used I also looked a bit into Also, currently |
This PR closes #362
get_dialogs_count/get_dialogs/iter_dialogs: Added "archived_only" kwarg.
types.Dialog: Added "is_archived" boolean attribute.