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

# PrivacySettingDisableLinkPreviewsAction

> Protobuf class PrivacySettingDisableLinkPreviewsAction generated from WAProto.

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

## Implements

* [`IPrivacySettingDisableLinkPreviewsAction`](/proto-reference/SyncActionValue/interfaces/IPrivacySettingDisableLinkPreviewsAction)

## Constructors

### new PrivacySettingDisableLinkPreviewsAction()

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

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

#### Parameters

##### p?

[`IPrivacySettingDisableLinkPreviewsAction`](/proto-reference/SyncActionValue/interfaces/IPrivacySettingDisableLinkPreviewsAction)

#### Returns

[`PrivacySettingDisableLinkPreviewsAction`](/proto-reference/SyncActionValue/classes/PrivacySettingDisableLinkPreviewsAction)

## Properties

### isPreviewsDisabled?

> `optional` **isPreviewsDisabled**: `null` | `boolean`

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

#### Implementation of

[`IPrivacySettingDisableLinkPreviewsAction`](/proto-reference/SyncActionValue/interfaces/IPrivacySettingDisableLinkPreviewsAction).[`isPreviewsDisabled`](/proto-reference/SyncActionValue/interfaces/IPrivacySettingDisableLinkPreviewsAction#ispreviewsdisabled)

## Methods

### create()

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

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

#### Parameters

##### properties?

[`IPrivacySettingDisableLinkPreviewsAction`](/proto-reference/SyncActionValue/interfaces/IPrivacySettingDisableLinkPreviewsAction)

#### Returns

[`PrivacySettingDisableLinkPreviewsAction`](/proto-reference/SyncActionValue/classes/PrivacySettingDisableLinkPreviewsAction)

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

[`PrivacySettingDisableLinkPreviewsAction`](/proto-reference/SyncActionValue/classes/PrivacySettingDisableLinkPreviewsAction)

***

### encode()

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

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

#### Parameters

##### m

[`IPrivacySettingDisableLinkPreviewsAction`](/proto-reference/SyncActionValue/interfaces/IPrivacySettingDisableLinkPreviewsAction)

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

[`PrivacySettingDisableLinkPreviewsAction`](/proto-reference/SyncActionValue/classes/PrivacySettingDisableLinkPreviewsAction)

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

[`PrivacySettingDisableLinkPreviewsAction`](/proto-reference/SyncActionValue/classes/PrivacySettingDisableLinkPreviewsAction)

##### o?

`IConversionOptions`

#### Returns

`object`
