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

Translation entity

The translation of a status into some language, as returned by the
status translate endpoint

## Fields

  * `content` - HTML-encoded translated content of the status
  * `spoiler_text` - translated spoiler warning of the status
  * `poll` - translated poll options, a map with `id` and `options` keys,
    if the status has a poll
  * `media_attachments` - translated media descriptions, a list of maps
    with `id` and `description` keys
  * `language` - the language of the source text, as provided by the
    translation provider
  * `detected_source_language` - the language detected in the source text
  * `provider` - the service that provided the machine translation

# `t`

```elixir
@type t() :: %Hunter.Translation{
  content: String.t(),
  detected_source_language: String.t(),
  language: String.t(),
  media_attachments: [map()],
  poll: map() | nil,
  provider: String.t(),
  spoiler_text: String.t()
}
```

---

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