Skip to content

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

FieldTypeRequiredDescription
idstring✔️The unique ID of the conversation
object"conversation"✔️The object type, always 'conversation'
createdAtnumber✔️Unix timestamp of when the conversation was created
metadataRecord<string, string>N/A
identitystringIdentity of the conversation owner. Either a SHA256 hash or raw userId:externalUserId depending on IDENTITY_MODE.