@botmesh/core - v2.0.0-alpha.2
    Preparing search index...

    Interface BuiltinStoreConfig

    The type of the deprecated BotConfig.storeConfig: pass store: new MemoryStore(options) (see MemoryStoreOptions) instead.

    interface BuiltinStoreConfig {
        file?: string;
        maxMessagesPerChat?: number;
        autoSaveInterval?: string | number;
    }
    Index
    file?: string

    JSON file the in-memory store is loaded from and saved to.

    maxMessagesPerChat?: number

    Most messages kept per chat.

    autoSaveInterval?: string | number

    Autosave period of file: a duration ('30s') or ms.