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

# InThreadSurveyOption

> Protobuf class InThreadSurveyOption generated from WAProto.

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

## Implements

* [`IInThreadSurveyOption`](/proto-reference/InThreadSurveyMetadata/interfaces/IInThreadSurveyOption)

## Constructors

### new InThreadSurveyOption()

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

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

#### Parameters

##### p?

[`IInThreadSurveyOption`](/proto-reference/InThreadSurveyMetadata/interfaces/IInThreadSurveyOption)

#### Returns

[`InThreadSurveyOption`](/proto-reference/InThreadSurveyMetadata/classes/InThreadSurveyOption)

## Properties

### numericValue?

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

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

#### Implementation of

[`IInThreadSurveyOption`](/proto-reference/InThreadSurveyMetadata/interfaces/IInThreadSurveyOption).[`numericValue`](/proto-reference/InThreadSurveyMetadata/interfaces/IInThreadSurveyOption#numericvalue)

***

### stringValue?

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

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

#### Implementation of

[`IInThreadSurveyOption`](/proto-reference/InThreadSurveyMetadata/interfaces/IInThreadSurveyOption).[`stringValue`](/proto-reference/InThreadSurveyMetadata/interfaces/IInThreadSurveyOption#stringvalue)

***

### textTranslated?

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

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

#### Implementation of

[`IInThreadSurveyOption`](/proto-reference/InThreadSurveyMetadata/interfaces/IInThreadSurveyOption).[`textTranslated`](/proto-reference/InThreadSurveyMetadata/interfaces/IInThreadSurveyOption#texttranslated)

## Methods

### create()

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

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

#### Parameters

##### properties?

[`IInThreadSurveyOption`](/proto-reference/InThreadSurveyMetadata/interfaces/IInThreadSurveyOption)

#### Returns

[`InThreadSurveyOption`](/proto-reference/InThreadSurveyMetadata/classes/InThreadSurveyOption)

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

[`InThreadSurveyOption`](/proto-reference/InThreadSurveyMetadata/classes/InThreadSurveyOption)

***

### encode()

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

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

#### Parameters

##### m

[`IInThreadSurveyOption`](/proto-reference/InThreadSurveyMetadata/interfaces/IInThreadSurveyOption)

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

[`InThreadSurveyOption`](/proto-reference/InThreadSurveyMetadata/classes/InThreadSurveyOption)

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

[`InThreadSurveyOption`](/proto-reference/InThreadSurveyMetadata/classes/InThreadSurveyOption)

##### o?

`IConversionOptions`

#### Returns

`object`
