Skip to main content

Class: GlobalSettings

Defined in: WAProto/index.d.ts:3517

Implements

Constructors

new GlobalSettings()

new GlobalSettings(p?): GlobalSettings

Defined in: WAProto/index.d.ts:3518

Parameters

p?

IGlobalSettings

Returns

GlobalSettings

Properties

autoDownloadCellular?

optional autoDownloadCellular: null | IAutoDownloadSettings

Defined in: WAProto/index.d.ts:3523

Implementation of

IGlobalSettings.autoDownloadCellular


autoDownloadRoaming?

optional autoDownloadRoaming: null | IAutoDownloadSettings

Defined in: WAProto/index.d.ts:3524

Implementation of

IGlobalSettings.autoDownloadRoaming


autoDownloadWiFi?

optional autoDownloadWiFi: null | IAutoDownloadSettings

Defined in: WAProto/index.d.ts:3522

Implementation of

IGlobalSettings.autoDownloadWiFi


autoUnarchiveChats?

optional autoUnarchiveChats: null | boolean

Defined in: WAProto/index.d.ts:3532

Implementation of

IGlobalSettings.autoUnarchiveChats


avatarUserSettings?

optional avatarUserSettings: null | IAvatarUserSettings

Defined in: WAProto/index.d.ts:3529

Implementation of

IGlobalSettings.avatarUserSettings


chatDbLidMigrationTimestamp?

optional chatDbLidMigrationTimestamp: null | number | Long

Defined in: WAProto/index.d.ts:3538

Implementation of

IGlobalSettings.chatDbLidMigrationTimestamp


chatLockSettings?

optional chatLockSettings: null | IChatLockSettings

Defined in: WAProto/index.d.ts:3537

Implementation of

IGlobalSettings.chatLockSettings


darkThemeWallpaper?

optional darkThemeWallpaper: null | IWallpaperSettings

Defined in: WAProto/index.d.ts:3521

Implementation of

IGlobalSettings.darkThemeWallpaper


disappearingModeDuration?

optional disappearingModeDuration: null | number

Defined in: WAProto/index.d.ts:3527

Implementation of

IGlobalSettings.disappearingModeDuration


disappearingModeTimestamp?

optional disappearingModeTimestamp: null | number | Long

Defined in: WAProto/index.d.ts:3528

Implementation of

IGlobalSettings.disappearingModeTimestamp


fontSize?

optional fontSize: null | number

Defined in: WAProto/index.d.ts:3530

Implementation of

IGlobalSettings.fontSize


groupNotificationSettings?

optional groupNotificationSettings: null | INotificationSettings

Defined in: WAProto/index.d.ts:3536

Implementation of

IGlobalSettings.groupNotificationSettings


individualNotificationSettings?

optional individualNotificationSettings: null | INotificationSettings

Defined in: WAProto/index.d.ts:3535

Implementation of

IGlobalSettings.individualNotificationSettings


lightThemeWallpaper?

optional lightThemeWallpaper: null | IWallpaperSettings

Defined in: WAProto/index.d.ts:3519

Implementation of

IGlobalSettings.lightThemeWallpaper


mediaVisibility?

optional mediaVisibility: null | MediaVisibility

Defined in: WAProto/index.d.ts:3520

Implementation of

IGlobalSettings.mediaVisibility


photoQualityMode?

optional photoQualityMode: null | number

Defined in: WAProto/index.d.ts:3534

Implementation of

IGlobalSettings.photoQualityMode


securityNotifications?

optional securityNotifications: null | boolean

Defined in: WAProto/index.d.ts:3531

Implementation of

IGlobalSettings.securityNotifications


showGroupNotificationsPreview?

optional showGroupNotificationsPreview: null | boolean

Defined in: WAProto/index.d.ts:3526

Implementation of

IGlobalSettings.showGroupNotificationsPreview


showIndividualNotificationsPreview?

optional showIndividualNotificationsPreview: null | boolean

Defined in: WAProto/index.d.ts:3525

Implementation of

IGlobalSettings.showIndividualNotificationsPreview


videoQualityMode?

optional videoQualityMode: null | number

Defined in: WAProto/index.d.ts:3533

Implementation of

IGlobalSettings.videoQualityMode

Methods

toJSON()

toJSON(): object

Defined in: WAProto/index.d.ts:3544

Returns

object


create()

static create(properties?): GlobalSettings

Defined in: WAProto/index.d.ts:3539

Parameters

properties?

IGlobalSettings

Returns

GlobalSettings


decode()

static decode(r, l?): GlobalSettings

Defined in: WAProto/index.d.ts:3541

Parameters

r

Uint8Array<ArrayBufferLike> | Reader

l?

number

Returns

GlobalSettings


encode()

static encode(m, w?): Writer

Defined in: WAProto/index.d.ts:3540

Parameters

m

IGlobalSettings

w?

Writer

Returns

Writer


fromObject()

static fromObject(d): GlobalSettings

Defined in: WAProto/index.d.ts:3542

Parameters

d

Returns

GlobalSettings


getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string

Defined in: WAProto/index.d.ts:3545

Parameters

typeUrlPrefix?

string

Returns

string


toObject()

static toObject(m, o?): object

Defined in: WAProto/index.d.ts:3543

Parameters

m

GlobalSettings

o?

IConversionOptions

Returns

object