# UpsertConversationRequest

Model ID: `UpsertConversationRequest`

No description.

Type: `object`

## Fields

| Field | Type | Required | Format | Allowed values | Default | Nullable | Description |
|---|---|---:|---|---|---|---:|---|
| `createdAt` | `string|null` | No |  |  |  | Yes | Creation timestamp; defaults to now when omitted. |
| `groupId` | `string|null` | No |  |  |  | Yes | Associated group id, when this conversation belongs to a group. |
| `id` | `string` | Yes |  |  |  | No | Client-generated conversation identifier; upsert is keyed by this id. |
| `kind` | [`ConversationKind`](./ConversationKind.md) | Yes |  |  |  | No | Conversation kind (e.g. direct or group). |
| `lastMessagePreview` | `string|null` | No |  |  |  | Yes | Preview text of the most recent message, when available. |
| `participantIds` | `array` | No |  |  |  | No | Ids of the conversation's participants. |
| `title` | `string|null` | No |  |  |  | Yes | Conversation title, when set. |
| `unreadCount` | `integer` | No |  |  | `0` | No | Unread message count to set for the caller's view. |
| `updatedAt` | `string|null` | No |  |  |  | Yes | Last-update timestamp; defaults to now when omitted. |

## Example

None declared in canonical OpenAPI.
