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

# StatusPrivacyAction

> Protobuf class StatusPrivacyAction generated from WAProto.

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

## Implements

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

## Constructors

### new StatusPrivacyAction()

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

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

#### Parameters

##### p?

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

#### Returns

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

## Properties

### mode?

> `optional` **mode**: `null` | [`StatusDistributionMode`](/proto-reference/SyncActionValue/StatusPrivacyAction/enumerations/StatusDistributionMode)

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

#### Implementation of

[`IStatusPrivacyAction`](/proto-reference/SyncActionValue/interfaces/IStatusPrivacyAction).[`mode`](/proto-reference/SyncActionValue/interfaces/IStatusPrivacyAction#mode)

***

### userJid

> **userJid**: `string`\[]

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

#### Implementation of

[`IStatusPrivacyAction`](/proto-reference/SyncActionValue/interfaces/IStatusPrivacyAction).[`userJid`](/proto-reference/SyncActionValue/interfaces/IStatusPrivacyAction#userjid)

## Methods

### create()

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

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

#### Parameters

##### properties?

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

#### Returns

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

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

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

***

### encode()

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

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

#### Parameters

##### m

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

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

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

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

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

##### o?

`IConversionOptions`

#### Returns

`object`
