> ## Documentation Index > Fetch the complete documentation index at: https://openrouter.ai/docs/llms.txt > Use this file to discover all available pages before exploring further. # SendChatCompletionRequestResponse ## Supported Types ### ChatResult ```go theme={null} sendChatCompletionRequestResponse := operations.CreateSendChatCompletionRequestResponseChatResult(components.ChatResult{/* values here */}) ``` ### ```go theme={null} sendChatCompletionRequestResponse := operations.CreateSendChatCompletionRequestResponseEventStream(*stream.EventStream[components.ChatStreamingResponse]{/* values here */}) ``` ## Union Discrimination Use the `Type` field to determine which variant is active, then access the corresponding field: ```go theme={null} switch sendChatCompletionRequestResponse.Type { case operations.SendChatCompletionRequestResponseTypeChatResult: // sendChatCompletionRequestResponse.ChatResult is populated case operations.SendChatCompletionRequestResponseTypeEventStream: // sendChatCompletionRequestResponse.EventStream is populated } ```