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

# TranscriptRecorder<P>

> Interface exported by @botmesh/core.

Defined in: [testing/transcripts/record.ts:67](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/transcripts/record.ts#L67)

Handle returned by [recordTranscript](https://botmesh.afaya.com.co/api/core/functions/recordTranscript.md).

## Type Parameters

| Type Parameter | Default type |
| - | - |
|  `P` *extends* [`IProvider`](https://botmesh.afaya.com.co/api/core/interfaces/IProvider) | [`IProvider`](https://botmesh.afaya.com.co/api/core/interfaces/IProvider) |

## Properties

### provider

```ts theme={null}
readonly provider: RecordingProvider<P>;
```

Defined in: [testing/transcripts/record.ts:69](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/transcripts/record.ts#L69)

The recording provider to hand to `new Bot({ provider })`.

## Methods

### transcript()

```ts theme={null}
transcript(meta?): Transcript;
```

Defined in: [testing/transcripts/record.ts:71](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/transcripts/record.ts#L71)

Snapshot of the turns recorded so far as a transcript.

#### Parameters

| Parameter | Type |
| - | - |
| `meta?` | \{ `name?`: `string`; `description?`: `string`; } |
| `meta.name?` | `string` |
| `meta.description?` | `string` |

#### Returns

[`Transcript`](https://botmesh.afaya.com.co/api/core/interfaces/Transcript)

***

### clear()

```ts theme={null}
clear(): void;
```

Defined in: [testing/transcripts/record.ts:73](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/transcripts/record.ts#L73)

Forget everything recorded so far (the clock restarts on the next turn).

#### Returns

`void`

***

### pause()

```ts theme={null}
pause(): void;
```

Defined in: [testing/transcripts/record.ts:75](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/transcripts/record.ts#L75)

Stop recording; the provider keeps forwarding traffic.

#### Returns

`void`

***

### resume()

```ts theme={null}
resume(): void;
```

Defined in: [testing/transcripts/record.ts:77](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/transcripts/record.ts#L77)

Resume recording after [pause](#pause).

#### Returns

`void`


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