hunter v0.4.1 Hunter.Notification
Notification entity
This module defines a Hunter.Notification struct and the main functions
for working with Notifications.
Fields
id- The notification IDtype- One of: “mention”, “reblog”, “favourite”, “follow”created_at- The time the notification was createdaccount- TheHunter.Accountsending the notification to the userstatus- TheHunter.Statusassociated with the notification, if applicable
Summary
Functions
Deletes all notifications from the Mastodon server for the authenticated user
Retrieve single notification
Retrieve user’s notifications
Types
t()
t() :: %Hunter.Notification{account: Hunter.Account.t, created_at: String.t, id: String.t, status: Hunter.Status.t, type: String.t}
Functions
Deletes all notifications from the Mastodon server for the authenticated user
Parameters
conn- connection credentials