aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2017-09-08 15:25:49 +0200
committerLorenz Diener <[email protected]>2017-09-08 15:25:49 +0200
commitdf26310d1b2ba959109044433bf8c44b3932fcd9 (patch)
treeae199e5901d9cc61d192a12546490f77230aff53
parent81e2b4b4ab07092ef464bd9402b15bdbc26dc849 (diff)
downloadmastodon.py-df26310d1b2ba959109044433bf8c44b3932fcd9.tar.gz
Add notification dismissal
-rw-r--r--mastodon/Mastodon.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/mastodon/Mastodon.py b/mastodon/Mastodon.py
index 7a93d6c..0374427 100644
--- a/mastodon/Mastodon.py
+++ b/mastodon/Mastodon.py
@@ -628,6 +628,13 @@ class Mastodon:
628 """ 628 """
629 return self.__api_request('POST', '/api/v1/notifications/clear') 629 return self.__api_request('POST', '/api/v1/notifications/clear')
630 630
631
632 def notifications_dismiss(self, id):
633 """
634 Deletes a single notification
635 """
636 return self.__api_request('POST', '/api/v1/notifications/dismiss')
637
631 ### 638 ###
632 # Writing data: Accounts 639 # Writing data: Accounts
633 ### 640 ###
Powered by cgit v1.2.3 (git 2.41.0)