# BotResponse

## Extends

- `BotResponse`

### payload

```ts
payload: BotResponse;
```

The underlying payload data for this resource

#### Inherited from

```ts
Bkper.BotResponse.payload
```

### getAgentId()

```ts
getAgentId(): string;
```

#### Returns

`string`

The agent id of this Bot Response

#### Inherited from

```ts
Bkper.BotResponse.getAgentId
```

***

### getMessage()

```ts
getMessage(): string;
```

#### Returns

`string`

The message of this Bot Response

#### Inherited from

```ts
Bkper.BotResponse.getMessage
```

***

### getType()

```ts
getType(): BotResponseType;
```

#### Returns

[`BotResponseType`](https://bkper.com/docs/api/bkper-gs/enumerations/botresponsetype.md)

The type of this Bot Response

#### Inherited from

```ts
Bkper.BotResponse.getType
```

***

### json()

```ts
json(): BotResponse;
```

Gets an immutable copy of the JSON payload for this resource.

#### Returns

`BotResponse`

An immutable copy of the json payload

#### Inherited from

```ts
Bkper.BotResponse.json
```
