Skip to main content

Class: NotificationSettings

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

Implements

Constructors

new NotificationSettings()

new NotificationSettings(p?): NotificationSettings

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

Parameters

p?

INotificationSettings

Returns

NotificationSettings

Properties

callVibrate?

optional callVibrate: null | string

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

Implementation of

INotificationSettings.callVibrate


lowPriorityNotifications?

optional lowPriorityNotifications: null | boolean

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

Implementation of

INotificationSettings.lowPriorityNotifications


messageLight?

optional messageLight: null | string

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

Implementation of

INotificationSettings.messageLight


messagePopup?

optional messagePopup: null | string

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

Implementation of

INotificationSettings.messagePopup


messageVibrate?

optional messageVibrate: null | string

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

Implementation of

INotificationSettings.messageVibrate


reactionsMuted?

optional reactionsMuted: null | boolean

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

Implementation of

INotificationSettings.reactionsMuted

Methods

toJSON()

toJSON(): object

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

Returns

object


create()

static create(properties?): NotificationSettings

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

Parameters

properties?

INotificationSettings

Returns

NotificationSettings


decode()

static decode(r, l?): NotificationSettings

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

Parameters

r

Uint8Array<ArrayBufferLike> | Reader

l?

number

Returns

NotificationSettings


encode()

static encode(m, w?): Writer

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

Parameters

m

INotificationSettings

w?

Writer

Returns

Writer


fromObject()

static fromObject(d): NotificationSettings

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

Parameters

d

Returns

NotificationSettings


getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string

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

Parameters

typeUrlPrefix?

string

Returns

string


toObject()

static toObject(m, o?): object

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

Parameters

m

NotificationSettings

o?

IConversionOptions

Returns

object