# `Hunter.Preferences`
[🔗](https://github.com/milmazz/hunter/blob/v0.8.0/lib/hunter/preferences.ex#L1)

Preferences entity

The user's preferences for common client behaviors; the field names mirror
the colon-separated keys of the API response, so they must be accessed
with quoted-atom syntax, e.g. `preferences."posting:default:visibility"`

## Fields

  * `posting:default:visibility` - default visibility for new statuses,
    one of: `public`, `unlisted`, `private`, `direct`
  * `posting:default:sensitive` - whether new statuses are marked sensitive
    by default
  * `posting:default:language` - default language for new statuses, if set
  * `reading:expand:media` - whether media attachments should be
    automatically displayed or blurred/hidden, one of: `default`,
    `show_all`, `hide_all`
  * `reading:expand:spoilers` - whether content-warned statuses should be
    expanded automatically

# `t`

```elixir
@type t() :: %Hunter.Preferences{
  &quot;posting:default:language&quot;: String.t() | nil,
  &quot;posting:default:sensitive&quot;: boolean(),
  &quot;posting:default:visibility&quot;: String.t(),
  &quot;reading:expand:media&quot;: String.t(),
  &quot;reading:expand:spoilers&quot;: boolean()
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
