Source code for mattermostautodriver.endpoints.root
from ._base import Base
from typing import Any, BinaryIO
__all__ = ["Root"]
[docs]class Root(Base):
[docs] def acknowledge_notification(self):
"""Acknowledge receiving of a notification
`Read in Mattermost API docs (root - AcknowledgeNotification) <https://developers.mattermost.com/api-documentation/#/operations/AcknowledgeNotification>`_
"""
return self.client.post("""/api/v4/notifications/ack""")