> ## Documentation Index
> Fetch the complete documentation index at: https://baileys.wiki/llms.txt
> Use this file to discover all available pages before exploring further.

# InteractiveResponseMessage

> Protobuf class InteractiveResponseMessage generated from WAProto.

Defined in: [WAProto/index.d.ts:6964](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L6964)

## Implements

* [`IInteractiveResponseMessage`](/proto-reference/Message/interfaces/IInteractiveResponseMessage)

## Constructors

### new InteractiveResponseMessage()

> **new InteractiveResponseMessage**(`p`?): [`InteractiveResponseMessage`](/proto-reference/Message/classes/InteractiveResponseMessage)

Defined in: [WAProto/index.d.ts:6965](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L6965)

#### Parameters

##### p?

[`IInteractiveResponseMessage`](/proto-reference/Message/interfaces/IInteractiveResponseMessage)

#### Returns

[`InteractiveResponseMessage`](/proto-reference/Message/classes/InteractiveResponseMessage)

## Properties

### body?

> `optional` **body**: `null` | [`IBody`](/proto-reference/Message/InteractiveResponseMessage/interfaces/IBody)

Defined in: [WAProto/index.d.ts:6966](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L6966)

#### Implementation of

[`IInteractiveResponseMessage`](/proto-reference/Message/interfaces/IInteractiveResponseMessage).[`body`](/proto-reference/Message/interfaces/IInteractiveResponseMessage#body)

***

### contextInfo?

> `optional` **contextInfo**: `null` | [`IContextInfo`](/proto-reference/interfaces/IContextInfo)

Defined in: [WAProto/index.d.ts:6967](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L6967)

#### Implementation of

[`IInteractiveResponseMessage`](/proto-reference/Message/interfaces/IInteractiveResponseMessage).[`contextInfo`](/proto-reference/Message/interfaces/IInteractiveResponseMessage#contextinfo)

***

### interactiveResponseMessage?

> `optional` **interactiveResponseMessage**: `"nativeFlowResponseMessage"`

Defined in: [WAProto/index.d.ts:6969](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L6969)

***

### nativeFlowResponseMessage?

> `optional` **nativeFlowResponseMessage**: `null` | [`INativeFlowResponseMessage`](/proto-reference/Message/InteractiveResponseMessage/interfaces/INativeFlowResponseMessage)

Defined in: [WAProto/index.d.ts:6968](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L6968)

#### Implementation of

[`IInteractiveResponseMessage`](/proto-reference/Message/interfaces/IInteractiveResponseMessage).[`nativeFlowResponseMessage`](/proto-reference/Message/interfaces/IInteractiveResponseMessage#nativeflowresponsemessage)

## Methods

### create()

> `static` **create**(`properties`?): [`InteractiveResponseMessage`](/proto-reference/Message/classes/InteractiveResponseMessage)

Defined in: [WAProto/index.d.ts:6970](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L6970)

#### Parameters

##### properties?

[`IInteractiveResponseMessage`](/proto-reference/Message/interfaces/IInteractiveResponseMessage)

#### Returns

[`InteractiveResponseMessage`](/proto-reference/Message/classes/InteractiveResponseMessage)

***

### decode()

> `static` **decode**(`r`, `l`?): [`InteractiveResponseMessage`](/proto-reference/Message/classes/InteractiveResponseMessage)

Defined in: [WAProto/index.d.ts:6972](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L6972)

#### Parameters

##### r

`Uint8Array`\<`ArrayBufferLike`> | `Reader`

##### l?

`number`

#### Returns

[`InteractiveResponseMessage`](/proto-reference/Message/classes/InteractiveResponseMessage)

***

### encode()

> `static` **encode**(`m`, `w`?): `Writer`

Defined in: [WAProto/index.d.ts:6971](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L6971)

#### Parameters

##### m

[`IInteractiveResponseMessage`](/proto-reference/Message/interfaces/IInteractiveResponseMessage)

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

> `static` **fromObject**(`d`): [`InteractiveResponseMessage`](/proto-reference/Message/classes/InteractiveResponseMessage)

Defined in: [WAProto/index.d.ts:6973](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L6973)

#### Parameters

##### d

#### Returns

[`InteractiveResponseMessage`](/proto-reference/Message/classes/InteractiveResponseMessage)

***

### getTypeUrl()

> `static` **getTypeUrl**(`typeUrlPrefix`?): `string`

Defined in: [WAProto/index.d.ts:6976](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L6976)

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

> **toJSON**(): `object`

Defined in: [WAProto/index.d.ts:6975](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L6975)

#### Returns

`object`

***

### toObject()

> `static` **toObject**(`m`, `o`?): `object`

Defined in: [WAProto/index.d.ts:6974](https://github.com/WhiskeySockets/Baileys/blob/master/WAProto/index.d.ts#L6974)

#### Parameters

##### m

[`InteractiveResponseMessage`](/proto-reference/Message/classes/InteractiveResponseMessage)

##### o?

`IConversionOptions`

#### Returns

`object`
