> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter-d02e98a0-mintlify-7021d5f4.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# InputMessageItem - Go SDK

> InputMessageItem type definition

<Warning>
  The Go SDK and docs are currently in beta.
  Report issues on [GitHub](https://github.com/OpenRouterTeam/go-sdk/issues).
</Warning>

## Fields

| Field     | Type                                                                                                                                                | Required             | Description |
| --------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- | ----------- |
| `Content` | optionalnullable.OptionalNullable\[\[][components.InputMessageItemContentUnion](/client-sdks/go/api-reference/models/inputmessageitemcontentunion)] | :heavy\_minus\_sign: | N/A         |
| `ID`      | `*string`                                                                                                                                           | :heavy\_minus\_sign: | N/A         |
| `Role`    | [components.InputMessageItemRoleUnion](/client-sdks/go/api-reference/models/inputmessageitemroleunion)                                              | :heavy\_check\_mark: | N/A         |
| `Type`    | [\*components.InputMessageItemTypeMessage](/client-sdks/go/api-reference/models/inputmessageitemtypemessage)                                        | :heavy\_minus\_sign: | N/A         |
