Status entity
Fields
id- status iduri- a Fediverse-unique resource IDurl- URL to the status page (can be remote)account- theHunter.Accountwhich posted the statusin_reply_to_id-nilor the ID of the status it replies toin_reply_to_account_id-nilor the ID of the account it replies toreblog-nilor the rebloggedHunter.Statuscontent- body of the status; this will contain HTML (remote HTML already sanitized)created_at- time the status was createdreblogs_count- number of reblogs for the statusfavourites_count- number of favourites for the statusreblogged- whether the authenticated user has reblogged the statusfavourited- whether the authenticated user has favourited the statusmuted- whether the authenticated user has muted the conversation this status fromsensitive- whether media attachments should be hidden by defaultspoiler_text- if not empty, warning text that should be displayed before the actual contentvisibility- one of:public,unlisted,private,directmedia_attachments- A list ofHunter.Attachmentmentions- list ofHunter.Mentiontags- list ofHunter.Tagapplication-Hunter.Applicationfrom which the status was postedlanguage- detected language for the status, default: encard- preview card generated for links in the status, if anyemojis- list ofHunter.Emoji, custom emoji used in the statustext- plain-text source of the status, returned instead ofcontentwhen the status is deletedcreated_at- time the status was creatededited_at- time of the most recent edit,nilif never editedreplies_count- number of replies to the statusbookmarked- whether the authenticated user has bookmarked the statuspinned- whether the authenticated user has pinned the status (only present on the user's own statuses)poll- theHunter.Pollattached to the status, if anyfiltered- list ofHunter.FilterResult, filters that matched the status for the authenticated userquote- theHunter.Quoteof another status, if anyquote_approval- summary of the status' quote approval policy and how it applies to the requesting user (automatic,manualandcurrent_userkeys)
NOTE: When spoiler_text is present, sensitive is true
Summary
Types
@type t() :: %Hunter.Status{ account: Hunter.Account.t(), application: Hunter.Application.t(), bookmarked: boolean(), card: Hunter.Card.t() | nil, content: String.t(), created_at: String.t(), edited_at: String.t() | nil, emojis: [Hunter.Emoji.t()], favourited: boolean(), favourites_count: non_neg_integer(), filtered: [Hunter.FilterResult.t()] | nil, id: String.t(), in_reply_to_account_id: String.t() | nil, in_reply_to_id: String.t() | nil, language: String.t(), media_attachments: [Hunter.Attachment.t()], mentions: [Hunter.Mention.t()], muted: boolean(), pinned: boolean() | nil, poll: Hunter.Poll.t() | nil, quote: Hunter.Quote.t() | nil, quote_approval: map() | nil, reblog: t() | nil, reblogged: boolean(), reblogs_count: non_neg_integer(), replies_count: non_neg_integer(), sensitive: boolean(), spoiler_text: String.t(), tags: [Hunter.Tag.t()], text: String.t() | nil, uri: String.t(), url: String.t(), visibility: String.t() }