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

# PrivacySettingRelayAllCalls

> Protobuf class PrivacySettingRelayAllCalls generated from WAProto.

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

## Implements

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

## Constructors

### new PrivacySettingRelayAllCalls()

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

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

#### Parameters

##### p?

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

#### Returns

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

## Properties

### isEnabled?

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

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

#### Implementation of

[`IPrivacySettingRelayAllCalls`](/proto-reference/SyncActionValue/interfaces/IPrivacySettingRelayAllCalls).[`isEnabled`](/proto-reference/SyncActionValue/interfaces/IPrivacySettingRelayAllCalls#isenabled)

## Methods

### create()

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

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

#### Parameters

##### properties?

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

#### Returns

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

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

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

***

### encode()

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

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

#### Parameters

##### m

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

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

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

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

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

##### o?

`IConversionOptions`

#### Returns

`object`
