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

# StatusQuestionAnswerMessage

> Protobuf class StatusQuestionAnswerMessage generated from WAProto.

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

## Implements

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

## Constructors

### new StatusQuestionAnswerMessage()

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

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

#### Parameters

##### p?

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

#### Returns

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

## Properties

### key?

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

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

#### Implementation of

[`IStatusQuestionAnswerMessage`](/proto-reference/Message/interfaces/IStatusQuestionAnswerMessage).[`key`](/proto-reference/Message/interfaces/IStatusQuestionAnswerMessage#key)

***

### text?

> `optional` **text**: `null` | `string`

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

#### Implementation of

[`IStatusQuestionAnswerMessage`](/proto-reference/Message/interfaces/IStatusQuestionAnswerMessage).[`text`](/proto-reference/Message/interfaces/IStatusQuestionAnswerMessage#text)

## Methods

### create()

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

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

#### Parameters

##### properties?

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

#### Returns

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

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

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

***

### encode()

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

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

#### Parameters

##### m

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

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

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

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

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

##### o?

`IConversionOptions`

#### Returns

`object`
