# UpsertMessageRequest

Model ID: `UpsertMessageRequest`

No description.

Type: `object`

## Fields

| Field | Type | Required | Format | Allowed values | Default | Nullable | Description |
|---|---|---:|---|---|---|---:|---|
| `body` | `string|null` | No |  |  |  | Yes | Message text. |
| `conversationId` | `string` | Yes |  |  |  | No | Conversation this message belongs to. |
| `createdAt` | `string|null` | No |  |  |  | Yes | Creation timestamp; defaults to now when omitted. |
| `id` | `string` | Yes |  |  |  | No | Client-generated message identifier; upsert is keyed by this id. |
| `kind` | [`MessageKind`](./MessageKind.md) | No |  |  | `"text"` | No | Message kind (e.g. text, system). |
| `senderId` | `string` | Yes |  |  |  | No | Id of the participant sending the message. |
| `status` | [`MessageStatus`](./MessageStatus.md) | No |  |  |  | Yes | Client-proposed delivery status; the server always confirms `sent` on successful upsert. |

## Example

None declared in canonical OpenAPI.
