openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
14 lines • 575 B
TypeScript
import { n as MediaFact } from "./media-facts-DiJU7b10.js";
//#region src/auto-reply/reply/history.types.d.ts
/** Normalized history message used when building reply context. */
type HistoryEntry = {
sender: string;
body: string;
timestamp?: number;
messageId?: string;
media?: HistoryMediaEntry[];
};
/** Media metadata attached to a normalized history message. */
type HistoryMediaEntry = Pick<MediaFact, "contentType" | "durationMs" | "height" | "kind" | "messageId" | "path" | "url" | "width">;
//#endregion
export { HistoryMediaEntry as n, HistoryEntry as t };