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

# InThreadSurveyPrivacyStatementPart

> Protobuf class InThreadSurveyPrivacyStatementPart generated from WAProto.

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

## Implements

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

## Constructors

### new InThreadSurveyPrivacyStatementPart()

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

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

#### Parameters

##### p?

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

#### Returns

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

## Properties

### text?

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

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

#### Implementation of

[`IInThreadSurveyPrivacyStatementPart`](/proto-reference/InThreadSurveyMetadata/interfaces/IInThreadSurveyPrivacyStatementPart).[`text`](/proto-reference/InThreadSurveyMetadata/interfaces/IInThreadSurveyPrivacyStatementPart#text)

***

### url?

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

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

#### Implementation of

[`IInThreadSurveyPrivacyStatementPart`](/proto-reference/InThreadSurveyMetadata/interfaces/IInThreadSurveyPrivacyStatementPart).[`url`](/proto-reference/InThreadSurveyMetadata/interfaces/IInThreadSurveyPrivacyStatementPart#url)

## Methods

### create()

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

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

#### Parameters

##### properties?

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

#### Returns

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

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

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

***

### encode()

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

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

#### Parameters

##### m

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

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

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

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

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

##### o?

`IConversionOptions`

#### Returns

`object`
