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

# PressedButton

> Interface exported by @botmesh/core/testing.

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

What [TestChat.pressButton](https://botmesh.afaya.com.co/api/core/testing/interfaces/TestChat.md#pressbutton) pressed.

## Properties

### id

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

Defined in: [testing/testChat.ts:70](https://github.com/andresayac/botmesh/blob/main/packages/core/src/testing/testChat.ts#L70)

Button / row id (what the bot receives as `ctx.body` and `ctx.interaction.data`).

***

### title

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

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

***

### index

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

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

1-based position among the message's choices.

***

### kind

```ts theme={null}
kind: "list" | "button";
```

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

Interaction kind emitted: `'list'` for a list row, `'button'` otherwise.


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