Remove client.edit_folder

Not happy with the design, and keeping it would mean
having to maintain it. It can be added back with a better design.
This commit is contained in:
Lonami Exo
2022-02-08 10:23:55 +01:00
parent 84b016cf1c
commit 07faa53c5a
5 changed files with 6 additions and 135 deletions

View File

@@ -771,6 +771,12 @@ The ``client.upload_file`` method has been removed. It's a low-level method user
to use. Its only purpose could have been to implement a cache of sorts, but this is something the
library needs to do, not the users.
The methods to deal with folders have been removed. The goal is to find and offer a better
interface to deal with both folders and archived chats in the future if there is demand for it.
This includes the removal of ``client.edit_folder``, ``Dialog.archive``, ``Dialog.archived``, and
the ``archived`` parameter of ``client.get_dialogs``. The ``folder`` parameter remains as it's
unlikely to change.
Deleting messages now returns a more useful value
-------------------------------------------------

View File

@@ -103,7 +103,6 @@ Dialogs
iter_dialogs
get_dialogs
edit_folder
iter_drafts
get_drafts
delete_dialog