Skip to content

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

FieldTypeRequiredDescription
object"list"✔️N/A
datacomponents.ConversationObject[]✔️Array of conversations
hasMoreboolean✔️Whether there are more conversations
lastIdstringID of the last conversation in the current page