MessagesMessageParam - TypeScript SDK
MessagesMessageParam type definition
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
MessagesMessageParam type definition
import { MessagesMessageParam } from "@openrouter/sdk/models";
let value: MessagesMessageParam = {
content: "Hello, how are you?",
role: "user",
};
| Field | Type | Required | Description |
|---|---|---|---|
content | models.MessagesMessageParamContentUnion5 | :heavy_check_mark: | N/A |
role | models.MessagesMessageParamRole | :heavy_check_mark: | N/A |