Skip to main content
Defined in: WAProto/index.d.ts:4303

Implements

Constructors

new GlobalSettings()

new GlobalSettings(p?): GlobalSettings
Defined in: WAProto/index.d.ts:4304

Parameters

p?
IGlobalSettings

Returns

GlobalSettings

Properties

autoDownloadCellular?

optional autoDownloadCellular: null | IAutoDownloadSettings
Defined in: WAProto/index.d.ts:4309

Implementation of

IGlobalSettings.autoDownloadCellular

autoDownloadRoaming?

optional autoDownloadRoaming: null | IAutoDownloadSettings
Defined in: WAProto/index.d.ts:4310

Implementation of

IGlobalSettings.autoDownloadRoaming

autoDownloadWiFi?

optional autoDownloadWiFi: null | IAutoDownloadSettings
Defined in: WAProto/index.d.ts:4308

Implementation of

IGlobalSettings.autoDownloadWiFi

autoUnarchiveChats?

optional autoUnarchiveChats: null | boolean
Defined in: WAProto/index.d.ts:4318

Implementation of

IGlobalSettings.autoUnarchiveChats

avatarUserSettings?

optional avatarUserSettings: null | IAvatarUserSettings
Defined in: WAProto/index.d.ts:4315

Implementation of

IGlobalSettings.avatarUserSettings

chatDbLidMigrationTimestamp?

optional chatDbLidMigrationTimestamp: null | number | Long
Defined in: WAProto/index.d.ts:4324

Implementation of

IGlobalSettings.chatDbLidMigrationTimestamp

chatLockSettings?

optional chatLockSettings: null | IChatLockSettings
Defined in: WAProto/index.d.ts:4323

Implementation of

IGlobalSettings.chatLockSettings

darkThemeWallpaper?

optional darkThemeWallpaper: null | IWallpaperSettings
Defined in: WAProto/index.d.ts:4307

Implementation of

IGlobalSettings.darkThemeWallpaper

disappearingModeDuration?

optional disappearingModeDuration: null | number
Defined in: WAProto/index.d.ts:4313

Implementation of

IGlobalSettings.disappearingModeDuration

disappearingModeTimestamp?

optional disappearingModeTimestamp: null | number | Long
Defined in: WAProto/index.d.ts:4314

Implementation of

IGlobalSettings.disappearingModeTimestamp

fontSize?

optional fontSize: null | number
Defined in: WAProto/index.d.ts:4316

Implementation of

IGlobalSettings.fontSize

groupNotificationSettings?

optional groupNotificationSettings: null | INotificationSettings
Defined in: WAProto/index.d.ts:4322

Implementation of

IGlobalSettings.groupNotificationSettings

individualNotificationSettings?

optional individualNotificationSettings: null | INotificationSettings
Defined in: WAProto/index.d.ts:4321

Implementation of

IGlobalSettings.individualNotificationSettings

lightThemeWallpaper?

optional lightThemeWallpaper: null | IWallpaperSettings
Defined in: WAProto/index.d.ts:4305

Implementation of

IGlobalSettings.lightThemeWallpaper

mediaVisibility?

optional mediaVisibility: null | MediaVisibility
Defined in: WAProto/index.d.ts:4306

Implementation of

IGlobalSettings.mediaVisibility

photoQualityMode?

optional photoQualityMode: null | number
Defined in: WAProto/index.d.ts:4320

Implementation of

IGlobalSettings.photoQualityMode

securityNotifications?

optional securityNotifications: null | boolean
Defined in: WAProto/index.d.ts:4317

Implementation of

IGlobalSettings.securityNotifications

showGroupNotificationsPreview?

optional showGroupNotificationsPreview: null | boolean
Defined in: WAProto/index.d.ts:4312

Implementation of

IGlobalSettings.showGroupNotificationsPreview

showIndividualNotificationsPreview?

optional showIndividualNotificationsPreview: null | boolean
Defined in: WAProto/index.d.ts:4311

Implementation of

IGlobalSettings.showIndividualNotificationsPreview

videoQualityMode?

optional videoQualityMode: null | number
Defined in: WAProto/index.d.ts:4319

Implementation of

IGlobalSettings.videoQualityMode

Methods

create()

static create(properties?): GlobalSettings
Defined in: WAProto/index.d.ts:4325

Parameters

properties?
IGlobalSettings

Returns

GlobalSettings

decode()

static decode(r, l?): GlobalSettings
Defined in: WAProto/index.d.ts:4327

Parameters

r
Uint8Array<ArrayBufferLike> | Reader
l?
number

Returns

GlobalSettings

encode()

static encode(m, w?): Writer
Defined in: WAProto/index.d.ts:4326

Parameters

m
IGlobalSettings
w?
Writer

Returns

Writer

fromObject()

static fromObject(d): GlobalSettings
Defined in: WAProto/index.d.ts:4328

Parameters

d

Returns

GlobalSettings

getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string
Defined in: WAProto/index.d.ts:4331

Parameters

typeUrlPrefix?
string

Returns

string

toJSON()

toJSON(): object
Defined in: WAProto/index.d.ts:4330

Returns

object

toObject()

static toObject(m, o?): object
Defined in: WAProto/index.d.ts:4329

Parameters

m
GlobalSettings
o?
IConversionOptions

Returns

object