kopia lustrzana https://github.com/halcy/Mastodon.py
Add notification dismissal
rodzic
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
|
||||
###
|
||||
|
|
Ładowanie…
Reference in New Issue