2
0
mirror of https://github.com/pyrogram/pyrogram synced 2025-08-31 06:16:06 +00:00

Documentation improvements

This commit is contained in:
Dan
2022-04-24 11:56:07 +02:00
parent d14665ad96
commit 8af17c3ed5
7 changed files with 16 additions and 25 deletions

View File

@@ -15,9 +15,7 @@ humans and another more compact for machines that is able to recover the origina
For Humans - str(obj)
---------------------
If you want a nicely formatted, human readable JSON representation of any object in the API -- namely, any object from
:doc:`Pyrogram types <../api/types/index>`, :doc:`raw functions <../telegram/functions/index>` and
:doc:`raw types <../telegram/types/index>` -- you can use ``str(obj)``.
If you want a nicely formatted, human readable JSON representation of any object in the API you can use ``str(obj)``.
.. code-block:: python