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

# TranscriptDiff

> Interface exported by @botmesh/core/testing.

Defined in: [testing/transcripts/replay.ts:108](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/transcripts/replay.ts#L108)

One difference between the expected and the actual conversation.

## Properties

### kind

```ts theme={null}
kind: "missing" | "unexpected" | "mismatch" | "timing";
```

Defined in: [testing/transcripts/replay.ts:109](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/transcripts/replay.ts#L109)

***

### step

```ts theme={null}
step: number;
```

Defined in: [testing/transcripts/replay.ts:111](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/transcripts/replay.ts#L111)

Index of the inbound turn the replies belong to (`-1` = before the first inbound turn).

***

### trigger?

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

Defined in: [testing/transcripts/replay.ts:113](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/transcripts/replay.ts#L113)

Text of that inbound turn.

***

### chatId

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

Defined in: [testing/transcripts/replay.ts:114](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/transcripts/replay.ts#L114)

***

### position

```ts theme={null}
position: number;
```

Defined in: [testing/transcripts/replay.ts:116](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/transcripts/replay.ts#L116)

Position of the reply within its step (and chat, when `order` is `'per-chat'`).

***

### expected?

```ts theme={null}
expected?: TranscriptOutbound;
```

Defined in: [testing/transcripts/replay.ts:117](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/transcripts/replay.ts#L117)

***

### actual?

```ts theme={null}
actual?: TranscriptOutbound;
```

Defined in: [testing/transcripts/replay.ts:118](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/transcripts/replay.ts#L118)

***

### field?

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

Defined in: [testing/transcripts/replay.ts:120](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/transcripts/replay.ts#L120)

First field that differs (`'kind'`, `'text'`, `'content.buttons.0.text'`, `'t'`, `'id'`).

***

### message

```ts theme={null}
message: string;
```

Defined in: [testing/transcripts/replay.ts:121](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/transcripts/replay.ts#L121)


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