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

# ChatUserMessage - Go SDK

> ChatUserMessage type definition

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

User message

## Fields

| Field     | Type                                                                                             | Required             | Description                | Example                        |
| --------- | ------------------------------------------------------------------------------------------------ | -------------------- | -------------------------- | ------------------------------ |
| `Content` | [components.ChatUserMessageContent](/client-sdks/go/api-reference/models/chatusermessagecontent) | :heavy\_check\_mark: | User message content       | What is the capital of France? |
| `Name`    | `*string`                                                                                        | :heavy\_minus\_sign: | Optional name for the user | User                           |
| `Role`    | [components.ChatUserMessageRole](/client-sdks/go/api-reference/models/chatusermessagerole)       | :heavy\_check\_mark: | N/A                        |                                |
