ItemListObject
Example Usage
typescript
import { ItemListObject } from "@meetkai/mka1/models/components";
let value: ItemListObject = {
data: [
{
role: "user",
content: "Hello, how are you?",
id: "item_abc123",
},
],
hasMore: false,
lastId: "item_abc123",
};Fields
| Field | Type | Required | Description |
|---|---|---|---|
object | "list" | ➖ | N/A |
data | components.ItemWithId[] | ✔️ | A list of conversation items. |
hasMore | boolean | ✔️ | Whether there are more items |
lastId | string | ✔️ | ID of the last item in the current page |