ConversationListObject
Example Usage
typescript
import { ConversationListObject } from "@meetkai/mka1/models/components";
let value: ConversationListObject = {
object: "list",
data: [
{
id: "conv_abc123",
object: "conversation",
createdAt: 1704067200,
metadata: {
"session_id": "abc123",
},
},
],
hasMore: true,
lastId: "conv_abc123",
};Fields
| Field | Type | Required | Description |
|---|---|---|---|
object | "list" | ✔️ | N/A |
data | components.ConversationObject[] | ✔️ | Array of conversations |
hasMore | boolean | ✔️ | Whether there are more conversations |
lastId | string | ➖ | ID of the last conversation in the current page |