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

# GlobalSettings

> Protobuf class GlobalSettings generated from WAProto.

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

## Implements

* [`IGlobalSettings`](/proto-reference/interfaces/IGlobalSettings)

## Constructors

### new GlobalSettings()

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

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

#### Parameters

##### p?

[`IGlobalSettings`](/proto-reference/interfaces/IGlobalSettings)

#### Returns

[`GlobalSettings`](/proto-reference/classes/GlobalSettings)

## Properties

### autoDownloadCellular?

> `optional` **autoDownloadCellular**: `null` | [`IAutoDownloadSettings`](/proto-reference/interfaces/IAutoDownloadSettings)

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

#### Implementation of

[`IGlobalSettings`](/proto-reference/interfaces/IGlobalSettings).[`autoDownloadCellular`](/proto-reference/interfaces/IGlobalSettings#autodownloadcellular)

***

### autoDownloadRoaming?

> `optional` **autoDownloadRoaming**: `null` | [`IAutoDownloadSettings`](/proto-reference/interfaces/IAutoDownloadSettings)

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

#### Implementation of

[`IGlobalSettings`](/proto-reference/interfaces/IGlobalSettings).[`autoDownloadRoaming`](/proto-reference/interfaces/IGlobalSettings#autodownloadroaming)

***

### autoDownloadWiFi?

> `optional` **autoDownloadWiFi**: `null` | [`IAutoDownloadSettings`](/proto-reference/interfaces/IAutoDownloadSettings)

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

#### Implementation of

[`IGlobalSettings`](/proto-reference/interfaces/IGlobalSettings).[`autoDownloadWiFi`](/proto-reference/interfaces/IGlobalSettings#autodownloadwifi)

***

### autoUnarchiveChats?

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

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

#### Implementation of

[`IGlobalSettings`](/proto-reference/interfaces/IGlobalSettings).[`autoUnarchiveChats`](/proto-reference/interfaces/IGlobalSettings#autounarchivechats)

***

### avatarUserSettings?

> `optional` **avatarUserSettings**: `null` | [`IAvatarUserSettings`](/proto-reference/interfaces/IAvatarUserSettings)

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

#### Implementation of

[`IGlobalSettings`](/proto-reference/interfaces/IGlobalSettings).[`avatarUserSettings`](/proto-reference/interfaces/IGlobalSettings#avatarusersettings)

***

### chatDbLidMigrationTimestamp?

> `optional` **chatDbLidMigrationTimestamp**: `null` | `number` | `Long`

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

#### Implementation of

[`IGlobalSettings`](/proto-reference/interfaces/IGlobalSettings).[`chatDbLidMigrationTimestamp`](/proto-reference/interfaces/IGlobalSettings#chatdblidmigrationtimestamp)

***

### chatLockSettings?

> `optional` **chatLockSettings**: `null` | [`IChatLockSettings`](/proto-reference/interfaces/IChatLockSettings)

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

#### Implementation of

[`IGlobalSettings`](/proto-reference/interfaces/IGlobalSettings).[`chatLockSettings`](/proto-reference/interfaces/IGlobalSettings#chatlocksettings)

***

### darkThemeWallpaper?

> `optional` **darkThemeWallpaper**: `null` | [`IWallpaperSettings`](/proto-reference/interfaces/IWallpaperSettings)

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

#### Implementation of

[`IGlobalSettings`](/proto-reference/interfaces/IGlobalSettings).[`darkThemeWallpaper`](/proto-reference/interfaces/IGlobalSettings#darkthemewallpaper)

***

### disappearingModeDuration?

> `optional` **disappearingModeDuration**: `null` | `number`

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

#### Implementation of

[`IGlobalSettings`](/proto-reference/interfaces/IGlobalSettings).[`disappearingModeDuration`](/proto-reference/interfaces/IGlobalSettings#disappearingmodeduration)

***

### disappearingModeTimestamp?

> `optional` **disappearingModeTimestamp**: `null` | `number` | `Long`

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

#### Implementation of

[`IGlobalSettings`](/proto-reference/interfaces/IGlobalSettings).[`disappearingModeTimestamp`](/proto-reference/interfaces/IGlobalSettings#disappearingmodetimestamp)

***

### fontSize?

> `optional` **fontSize**: `null` | `number`

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

#### Implementation of

[`IGlobalSettings`](/proto-reference/interfaces/IGlobalSettings).[`fontSize`](/proto-reference/interfaces/IGlobalSettings#fontsize)

***

### groupNotificationSettings?

> `optional` **groupNotificationSettings**: `null` | [`INotificationSettings`](/proto-reference/interfaces/INotificationSettings)

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

#### Implementation of

[`IGlobalSettings`](/proto-reference/interfaces/IGlobalSettings).[`groupNotificationSettings`](/proto-reference/interfaces/IGlobalSettings#groupnotificationsettings)

***

### individualNotificationSettings?

> `optional` **individualNotificationSettings**: `null` | [`INotificationSettings`](/proto-reference/interfaces/INotificationSettings)

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

#### Implementation of

[`IGlobalSettings`](/proto-reference/interfaces/IGlobalSettings).[`individualNotificationSettings`](/proto-reference/interfaces/IGlobalSettings#individualnotificationsettings)

***

### lightThemeWallpaper?

> `optional` **lightThemeWallpaper**: `null` | [`IWallpaperSettings`](/proto-reference/interfaces/IWallpaperSettings)

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

#### Implementation of

[`IGlobalSettings`](/proto-reference/interfaces/IGlobalSettings).[`lightThemeWallpaper`](/proto-reference/interfaces/IGlobalSettings#lightthemewallpaper)

***

### mediaVisibility?

> `optional` **mediaVisibility**: `null` | [`MediaVisibility`](/proto-reference/enumerations/MediaVisibility)

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

#### Implementation of

[`IGlobalSettings`](/proto-reference/interfaces/IGlobalSettings).[`mediaVisibility`](/proto-reference/interfaces/IGlobalSettings#mediavisibility)

***

### photoQualityMode?

> `optional` **photoQualityMode**: `null` | `number`

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

#### Implementation of

[`IGlobalSettings`](/proto-reference/interfaces/IGlobalSettings).[`photoQualityMode`](/proto-reference/interfaces/IGlobalSettings#photoqualitymode)

***

### securityNotifications?

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

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

#### Implementation of

[`IGlobalSettings`](/proto-reference/interfaces/IGlobalSettings).[`securityNotifications`](/proto-reference/interfaces/IGlobalSettings#securitynotifications)

***

### showGroupNotificationsPreview?

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

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

#### Implementation of

[`IGlobalSettings`](/proto-reference/interfaces/IGlobalSettings).[`showGroupNotificationsPreview`](/proto-reference/interfaces/IGlobalSettings#showgroupnotificationspreview)

***

### showIndividualNotificationsPreview?

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

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

#### Implementation of

[`IGlobalSettings`](/proto-reference/interfaces/IGlobalSettings).[`showIndividualNotificationsPreview`](/proto-reference/interfaces/IGlobalSettings#showindividualnotificationspreview)

***

### videoQualityMode?

> `optional` **videoQualityMode**: `null` | `number`

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

#### Implementation of

[`IGlobalSettings`](/proto-reference/interfaces/IGlobalSettings).[`videoQualityMode`](/proto-reference/interfaces/IGlobalSettings#videoqualitymode)

## Methods

### create()

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

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

#### Parameters

##### properties?

[`IGlobalSettings`](/proto-reference/interfaces/IGlobalSettings)

#### Returns

[`GlobalSettings`](/proto-reference/classes/GlobalSettings)

***

### decode()

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

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

#### Parameters

##### r

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

##### l?

`number`

#### Returns

[`GlobalSettings`](/proto-reference/classes/GlobalSettings)

***

### encode()

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

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

#### Parameters

##### m

[`IGlobalSettings`](/proto-reference/interfaces/IGlobalSettings)

##### w?

`Writer`

#### Returns

`Writer`

***

### fromObject()

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

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

#### Parameters

##### d

#### Returns

[`GlobalSettings`](/proto-reference/classes/GlobalSettings)

***

### getTypeUrl()

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

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

#### Parameters

##### typeUrlPrefix?

`string`

#### Returns

`string`

***

### toJSON()

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

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

#### Returns

`object`

***

### toObject()

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

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

#### Parameters

##### m

[`GlobalSettings`](/proto-reference/classes/GlobalSettings)

##### o?

`IConversionOptions`

#### Returns

`object`
