hunter v0.1.0 Hunter.Notification

Notification entity

This module defines a Hunter.Notification struct and the main functions for working with Notifications.

Fields

  • id - The notification ID
  • type - One of: “mention”, “reblog”, “favourite”, “follow”
  • created_at - The time the notification was created
  • account - The Hunter.Account sending the notification to the user
  • status - The Hunter.Status associated with the notification, if applicable

Summary

Types

t()
t() :: %Hunter.Notification{account: Hunter.Account.t, created_at: String.t, id: String.t, status: Hunter.Status.t, type: String.t}