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

# InitialSecurityNotificationSettingSync

> Protobuf class InitialSecurityNotificationSettingSync generated from WAProto.

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

## Implements

* [`IInitialSecurityNotificationSettingSync`](/proto-reference/Message/interfaces/IInitialSecurityNotificationSettingSync)

## Constructors

### new InitialSecurityNotificationSettingSync()

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

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

#### Parameters

##### p?

[`IInitialSecurityNotificationSettingSync`](/proto-reference/Message/interfaces/IInitialSecurityNotificationSettingSync)

#### Returns

[`InitialSecurityNotificationSettingSync`](/proto-reference/Message/classes/InitialSecurityNotificationSettingSync)

## Properties

### securityNotificationEnabled?

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

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

#### Implementation of

[`IInitialSecurityNotificationSettingSync`](/proto-reference/Message/interfaces/IInitialSecurityNotificationSettingSync).[`securityNotificationEnabled`](/proto-reference/Message/interfaces/IInitialSecurityNotificationSettingSync#securitynotificationenabled)

## Methods

### create()

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

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

#### Parameters

##### properties?

[`IInitialSecurityNotificationSettingSync`](/proto-reference/Message/interfaces/IInitialSecurityNotificationSettingSync)

#### Returns

[`InitialSecurityNotificationSettingSync`](/proto-reference/Message/classes/InitialSecurityNotificationSettingSync)

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

[`InitialSecurityNotificationSettingSync`](/proto-reference/Message/classes/InitialSecurityNotificationSettingSync)

***

### encode()

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

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

#### Parameters

##### m

[`IInitialSecurityNotificationSettingSync`](/proto-reference/Message/interfaces/IInitialSecurityNotificationSettingSync)

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

[`InitialSecurityNotificationSettingSync`](/proto-reference/Message/classes/InitialSecurityNotificationSettingSync)

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

[`InitialSecurityNotificationSettingSync`](/proto-reference/Message/classes/InitialSecurityNotificationSettingSync)

##### o?

`IConversionOptions`

#### Returns

`object`
