ConversationObject
Example Usage
typescript
import { ConversationObject } from "@meetkai/mka1/models/components";
let value: ConversationObject = {
id: "conv_abc123",
object: "conversation",
createdAt: 1704067200,
metadata: {
"session_id": "abc123",
"user_type": "premium",
},
};Fields
| Field | Type | Required | Description |
|---|---|---|---|
id | string | ✔️ | The unique ID of the conversation |
object | "conversation" | ✔️ | The object type, always 'conversation' |
createdAt | number | ✔️ | Unix timestamp of when the conversation was created |
metadata | Record<string, string> | ➖ | N/A |
identity | string | ➖ | Identity of the conversation owner. Either a SHA256 hash or raw userId:externalUserId depending on IDENTITY_MODE. |