# `ADK.Types.Content`
[🔗](https://github.com/JohnSmall/adk_ex/blob/v0.2.0/lib/adk/types.ex#L79)

A message containing one or more parts with a role.

# `t`

```elixir
@type t() :: %ADK.Types.Content{parts: [ADK.Types.Part.t()], role: String.t()}
```

# `new_from_bytes`

```elixir
@spec new_from_bytes(String.t(), binary(), String.t()) :: t()
```

# `new_from_text`

```elixir
@spec new_from_text(String.t(), String.t()) :: t()
```

---

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