> ## Documentation Index
> Fetch the complete documentation index at: https://botmesh.afaya.com.co/llms.txt
> Use this file to discover all available pages before exploring further.

# BuiltinStoreConfig

> Interface exported by @botmesh/core.

Defined in: [core/provider.ts:1676](https://github.com/andresayac/botmesh/blob/main/packages/core/src/core/provider.ts#L1676)

## Deprecated

The type of the deprecated [BotConfig.storeConfig](https://botmesh.afaya.com.co/api/core/interfaces/BotConfig.md#storeconfig): pass
`store: new MemoryStore(options)` (see `MemoryStoreOptions`) instead.

## Properties

### ~~file?~~

```ts theme={null}
file?: string;
```

Defined in: [core/provider.ts:1678](https://github.com/andresayac/botmesh/blob/main/packages/core/src/core/provider.ts#L1678)

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

***

### ~~maxMessagesPerChat?~~

```ts theme={null}
maxMessagesPerChat?: number;
```

Defined in: [core/provider.ts:1680](https://github.com/andresayac/botmesh/blob/main/packages/core/src/core/provider.ts#L1680)

Most messages kept per chat.

***

### ~~autoSaveInterval?~~

```ts theme={null}
autoSaveInterval?: string | number;
```

Defined in: [core/provider.ts:1682](https://github.com/andresayac/botmesh/blob/main/packages/core/src/core/provider.ts#L1682)

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


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.