Add notification dismissal
This commit is contained in:
parent
81e2b4b4ab
commit
df26310d1b
@ -628,6 +628,13 @@ class Mastodon:
|
||||
"""
|
||||
return self.__api_request('POST', '/api/v1/notifications/clear')
|
||||
|
||||
|
||||
def notifications_dismiss(self, id):
|
||||
"""
|
||||
Deletes a single notification
|
||||
"""
|
||||
return self.__api_request('POST', '/api/v1/notifications/dismiss')
|
||||
|
||||
###
|
||||
# Writing data: Accounts
|
||||
###
|
||||
|
Loading…
x
Reference in New Issue
Block a user