From 9badbce67b25f8159785b42723ad8a66da9f47b1 Mon Sep 17 00:00:00 2001 From: Lorenz Diener Date: Fri, 8 Sep 2017 15:26:05 +0200 Subject: [PATCH] Update docs about notifications --- docs/index.rst | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/index.rst b/docs/index.rst index cea3cf5..d8cf1fc 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -162,7 +162,7 @@ Toot dicts # when there are attached files. 'tags': # A list of hashtag dicts used in the toot 'application': # Application dict for the client used to post the toot - 'language': # The (autodetected or otherwise set server side) language of the toot. + 'language': # The language of the toot, if specified by the server. 'muted': # oolean denoting whether the user has muted this status by way of conversation muting. } @@ -395,6 +395,13 @@ interact with already posted statuses. .. automethod:: Mastodon.status_unfavourite .. automethod:: Mastodon.status_delete +Writing data: Notifications +--------------------------- +These functions allow you to clear all or some notifications. + +.. automethod:: Mastodon.notifications_clear +.. automethod:: Mastodon.notifications_dismiss + Writing data: Accounts ---------------------- These functions allow you to interact with other accounts: To (un)follow and