aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mastodon/Mastodon.py')
-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)