Add notification dismissal

This commit is contained in:
Lorenz Diener 2017-09-08 15:25:49 +02:00
pare 81e2b4b4ab
commit df26310d1b

Veure arxiu

@ -628,6 +628,13 @@ class Mastodon:
""" """
return self.__api_request('POST', '/api/v1/notifications/clear') 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 # Writing data: Accounts
### ###