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

# IdentityExpectation

> Interface exported by @botmesh/core/testing.

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

What one human's events must satisfy.

## Properties

### events

```ts theme={null}
events: number[];
```

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

Indices (into the checked array) of the events produced by this human.

***

### senderId?

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

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

The canonical sender id every one of these events must carry.

***

### chatId?

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

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

The chat id every one of these events must carry (e.g. the DM, or a group).

***

### kind?

```ts theme={null}
kind?: ChatKind;
```

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

The `ChatKind` every one of these events must carry.


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