mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-09 13:29:47 +00:00
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:
@@ -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
|
||||
-------------------------------------------------
|
||||
|
@@ -103,7 +103,6 @@ Dialogs
|
||||
|
||||
iter_dialogs
|
||||
get_dialogs
|
||||
edit_folder
|
||||
iter_drafts
|
||||
get_drafts
|
||||
delete_dialog
|
||||
|
Reference in New Issue
Block a user