Hunter.Suggestion (hunter v0.7.0)

Copy Markdown View Source

Suggestion entity

A suggested account to follow, with a reason for the suggestion

Fields

  • source - the reason this account is being suggested, one of: staff, past_interactions, global (deprecated since Mastodon 4.3 in favor of sources)
  • sources - reasons this account is being suggested, list of: featured, most_followed, most_interactions, similar_to_recently_followed, friends_of_friends
  • account - the Hunter.Account being recommended to follow

Summary

Types

t()

@type t() :: %Hunter.Suggestion{
  account: Hunter.Account.t(),
  source: String.t(),
  sources: [String.t()]
}