> ## 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.

# InboundDedupeOptions

> Interface exported by @botmesh/core.

Defined in: [core/dedupe.ts:49](https://github.com/andresayac/botmesh/blob/main/packages/core/src/core/dedupe.ts#L49)

User-facing options for `BotConfig.dedupe`.

## Properties

### size?

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

Defined in: [core/dedupe.ts:55](https://github.com/andresayac/botmesh/blob/main/packages/core/src/core/dedupe.ts#L55)

Maximum number of remembered inbound keys. When exceeded, the
least-recently-seen key is forgotten. Positive integer; default
`DEFAULT_DEDUPE_SIZE` (1000).

***

### ttl?

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

Defined in: [core/dedupe.ts:61](https://github.com/andresayac/botmesh/blob/main/packages/core/src/core/dedupe.ts#L61)

Optional time-to-live per remembered key, in ms or as a duration string
(`'30s'`, `'10m'`, `'1h'`). Measured from when the key was first accepted.
`0`/omitted = keys live until evicted by `size`.


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