Remove TLObject.to_json

This commit is contained in:
Lonami Exo
2021-10-16 11:55:18 +02:00
parent b566e59036
commit dbe66bf805
2 changed files with 8 additions and 17 deletions

View File

@@ -589,6 +589,14 @@ broken for some time now (see `issue #1319 <https://github.com/LonamiWebs/Teleth
anyway, so until there's a working solution, the mode is not supported. Pull Requests are welcome!
The to_json method on objects has been removed
----------------------------------------------
This was not very useful, as most of the time, you'll probably be having other data along with the
object's JSON. It simply saved you an import (and not even always, in case you wanted another
encoder). Use ``json.dumps(obj.to_dict())`` instead.
The Conversation API has been removed
-------------------------------------