openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
17 lines (16 loc) • 421 B
TypeScript
type SelfChatCacheKeyParts = {
accountId: string;
sender: string;
isGroup: boolean;
chatId?: number;
};
export type SelfChatLookup = SelfChatCacheKeyParts & {
text?: string;
createdAt?: number;
};
export type SelfChatCache = {
remember: (lookup: SelfChatLookup) => void;
has: (lookup: SelfChatLookup) => boolean;
};
export declare function createSelfChatCache(): SelfChatCache;
export {};