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

# EventResponseMessage

> Protobuf class EventResponseMessage generated from WAProto.

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

## Implements

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

## Constructors

### new EventResponseMessage()

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

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

#### Parameters

##### p?

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

#### Returns

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

## Properties

### extraGuestCount?

> `optional` **extraGuestCount**: `null` | `number`

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

#### Implementation of

[`IEventResponseMessage`](/proto-reference/Message/interfaces/IEventResponseMessage).[`extraGuestCount`](/proto-reference/Message/interfaces/IEventResponseMessage#extraguestcount)

***

### response?

> `optional` **response**: `null` | [`EventResponseType`](/proto-reference/Message/EventResponseMessage/enumerations/EventResponseType)

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

#### Implementation of

[`IEventResponseMessage`](/proto-reference/Message/interfaces/IEventResponseMessage).[`response`](/proto-reference/Message/interfaces/IEventResponseMessage#response)

***

### timestampMs?

> `optional` **timestampMs**: `null` | `number` | `Long`

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

#### Implementation of

[`IEventResponseMessage`](/proto-reference/Message/interfaces/IEventResponseMessage).[`timestampMs`](/proto-reference/Message/interfaces/IEventResponseMessage#timestampms)

## Methods

### create()

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

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

#### Parameters

##### properties?

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

#### Returns

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

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

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

***

### encode()

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

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

#### Parameters

##### m

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

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

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

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

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

##### o?

`IConversionOptions`

#### Returns

`object`
