Improve application docs. Closes #115

This commit is contained in:
Lorenz Diener 2017-12-14 10:51:55 +01:00
pare 58dfdfaec5
commit 3397939c6f
S'han modificat 2 arxius amb 15 adicions i 2 eliminacions

Archivo binario no mostrado.

Veure arxiu

@ -222,7 +222,8 @@ Toot dicts
'media_attachments': # A list of media dicts of attached files
'emojis': # A list of custom emojis used in the toot, as Emoji dicts
'tags': # A list of hashtag used in the toot, as Hashtag dicts
'application': # Application dict for the client used to post the toot
'application': # Application dict for the client used to post the toot (Can be
# None, for toots made using the web UI).
'language': # The language of the toot, if specified by the server.
'muted': # Boolean denoting whether the user has muted this status by
# way of conversation muting
@ -263,7 +264,19 @@ Emoji dicts
'url': # URL for the emoji image, can be animated
'static_url': # URL for the emoji image, never animated
}
Application dicts
~~~~~~~~~~~~~~~~~
.. _application dict:
.. code-block:: python
{
'name': # The applications name
'website': # The applications website
}
Relationship dicts
~~~~~~~~~~~~~~~~~~
.. _relationship dict: