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

# IdentityContractOptions

> Interface exported by @botmesh/core/testing.

Defined in: [testing/identityContract.ts:83](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/identityContract.ts#L83)

Tuning for [checkIdentityContract](https://botmesh.afaya.com.co/api/core/testing/functions/checkIdentityContract.md).

## Properties

### requireRefChatId?

```ts theme={null}
requireRefChatId?: boolean;
```

Defined in: [testing/identityContract.ts:85](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/identityContract.ts#L85)

Require `ref.chatId === chatId`. Default `true`.

***

### rejectSuspiciousIds?

```ts theme={null}
rejectSuspiciousIds?: boolean;
```

Defined in: [testing/identityContract.ts:87](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/identityContract.ts#L87)

Flag ids that look like stringified `undefined`/`null`/`NaN`/objects. Default `true`.

***

### distinctHumans?

```ts theme={null}
distinctHumans?: boolean;
```

Defined in: [testing/identityContract.ts:89](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/identityContract.ts#L89)

Flag two different humans sharing one `senderId`. Default `true`.


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