> ## 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.

# ChatAssistantMessage - Go SDK

> ChatAssistantMessage type definition

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

Assistant message for requests and responses

## Fields

| Field              | Type                                                                                                                                           | Required             | Description                                    | Example                                                                                                                                                                           |
| ------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------- | -------------------- | ---------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Audio`            | [\*components.ChatAudioOutput](/client-sdks/go/api-reference/models/chataudiooutput)                                                           | :heavy\_minus\_sign: | Audio output data or reference                 | `{"data": "UklGRnoGAABXQVZFZm10IBAAAAABAAEAQB8AAEAfAAABAAgAZGF0YQoGAACBhYqFbF1f","expires_at": 1677652400,"id": "audio_abc123","transcript": "Hello! How can I help you today?"}` |
| `Content`          | optionalnullable.OptionalNullable\[[components.ChatAssistantMessageContent](/client-sdks/go/api-reference/models/chatassistantmessagecontent)] | :heavy\_minus\_sign: | Assistant message content                      |                                                                                                                                                                                   |
| `Images`           | \[][components.ChatAssistantImages](/client-sdks/go/api-reference/models/chatassistantimages)                                                  | :heavy\_minus\_sign: | Generated images from image generation models  | \[<br />`{"image_url": {"url": "data:image/png;base64,iVBORw0KGgo..."}`<br />}<br />]                                                                                             |
| `Name`             | `*string`                                                                                                                                      | :heavy\_minus\_sign: | Optional name for the assistant                |                                                                                                                                                                                   |
| `Reasoning`        | optionalnullable.OptionalNullable\[`string`]                                                                                                   | :heavy\_minus\_sign: | Reasoning output                               |                                                                                                                                                                                   |
| `ReasoningDetails` | \[][components.ReasoningDetailUnion](/client-sdks/go/api-reference/models/reasoningdetailunion)                                                | :heavy\_minus\_sign: | Reasoning details for extended thinking models | \[<br />`{"thinking": "Let me work through this step by step...","type": "thinking"}`<br />]                                                                                      |
| `Refusal`          | optionalnullable.OptionalNullable\[`string`]                                                                                                   | :heavy\_minus\_sign: | Refusal message if content was refused         |                                                                                                                                                                                   |
| `Role`             | [components.ChatAssistantMessageRole](/client-sdks/go/api-reference/models/chatassistantmessagerole)                                           | :heavy\_check\_mark: | N/A                                            |                                                                                                                                                                                   |
| `ToolCalls`        | \[][components.ChatToolCall](/client-sdks/go/api-reference/models/chattoolcall)                                                                | :heavy\_minus\_sign: | Tool calls made by the assistant               |                                                                                                                                                                                   |
