# `A2A.FileContent`
[🔗](https://github.com/actioncard/a2a-elixir/blob/main/lib/a2a/file_content.ex#L1)

Represents file content with either inline bytes or a URI reference.

At least one of `bytes` or `uri` must be provided.

# `t`

```elixir
@type t() :: %A2A.FileContent{
  bytes: binary() | nil,
  mime_type: String.t() | nil,
  name: String.t() | nil,
  uri: String.t() | nil
}
```

# `from_bytes`

```elixir
@spec from_bytes(binary(), keyword()) :: t()
```

Creates a new `FileContent` with inline bytes.

# `from_uri`

```elixir
@spec from_uri(String.t(), keyword()) :: t()
```

Creates a new `FileContent` with a URI reference.

---

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