InsertEvent

April 22, 2025 ยท View on GitHub

Supported Types

components.InsertMessageEvent

const value: components.InsertMessageEvent = {
  type: "<value>",
  messageId: "<id>",
  userProperties: {
    identificationType: "COOKIED",
  },
  entityType: "message",
};

components.InsertConversationEvent

const value: components.InsertConversationEvent = {
  type: "<value>",
  conversationId: "<id>",
  userProperties: {
    identificationType: "COOKIED",
  },
  entityType: "conversation",
};

components.InsertSearchEvent

const value: components.InsertSearchEvent = {
  type: "<value>",
  searchQuery: "<value>",
  userProperties: {
    identificationType: "COOKIED",
  },
  entityType: "search",
};