Hunter.StatusEdit (hunter v0.7.0)

Copy Markdown View Source

StatusEdit entity

A revision of a Hunter.Status, as returned by the status edit history endpoint

Fields

  • content - the content of the status at this revision, as HTML
  • spoiler_text - the content of the subject/spoiler at this revision, as HTML
  • sensitive - whether the status was marked sensitive at this revision
  • created_at - when the revision was published
  • account - the Hunter.Account that published the status
  • poll - the poll options at this revision, a map with an options key (only when the status has a poll)
  • media_attachments - list of Hunter.Attachment at this revision
  • emojis - list of Hunter.Emoji, custom emoji used in the revision

Summary

Types

t()

@type t() :: %Hunter.StatusEdit{
  account: Hunter.Account.t(),
  content: String.t(),
  created_at: String.t(),
  emojis: [Hunter.Emoji.t()],
  media_attachments: [Hunter.Attachment.t()],
  poll: map() | nil,
  sensitive: boolean(),
  spoiler_text: String.t()
}