---
title: "InputFile"
---

File input content item


## Fields

| Field                                                      | Type                                                       | Required                                                   | Description                                                |
| ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- | ---------------------------------------------------------- |
| `file_data`                                                | *Optional[str]*                                            | :heavy_minus_sign:                                         | N/A                                                        |
| `file_id`                                                  | *OptionalNullable[str]*                                    | :heavy_minus_sign:                                         | N/A                                                        |
| `file_url`                                                 | *Optional[str]*                                            | :heavy_minus_sign:                                         | N/A                                                        |
| `filename`                                                 | *Optional[str]*                                            | :heavy_minus_sign:                                         | N/A                                                        |
| `type`                                                     | [components.InputFileType](../components/inputfiletype.mdx) | :heavy_check_mark:                                         | N/A                                                        |