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

# StatusPostOptInNotificationPreferencesAction

> Protobuf class StatusPostOptInNotificationPreferencesAction generated from WAProto.

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

## Implements

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

## Constructors

### new StatusPostOptInNotificationPreferencesAction()

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

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

#### Parameters

##### p?

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

#### Returns

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

## Properties

### enabled?

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

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

#### Implementation of

[`IStatusPostOptInNotificationPreferencesAction`](/proto-reference/SyncActionValue/interfaces/IStatusPostOptInNotificationPreferencesAction).[`enabled`](/proto-reference/SyncActionValue/interfaces/IStatusPostOptInNotificationPreferencesAction#enabled)

## Methods

### create()

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

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

#### Parameters

##### properties?

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

#### Returns

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

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

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

***

### encode()

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

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

#### Parameters

##### m

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

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

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

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

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

##### o?

`IConversionOptions`

#### Returns

`object`
