# `Omni.Content.Text`
[🔗](https://github.com/aaronrussell/omni/blob/v1.2.1/lib/omni/content/text.ex#L1)

A text content block.

The most common content type, representing plain text output from a model
or text input from a user.

# `t`

```elixir
@type t() :: %Omni.Content.Text{signature: String.t() | nil, text: String.t()}
```

Text content with an optional integrity signature.

# `new`

```elixir
@spec new(String.t() | Enumerable.t()) :: t()
```

Creates a new text content block from a string, keyword list, or map.

---

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