Skip to main content

Class: NotificationSettings

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

Implements

Constructors

new NotificationSettings()

new NotificationSettings(p?): NotificationSettings

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

Parameters

p?

INotificationSettings

Returns

NotificationSettings

Properties

callVibrate?

optional callVibrate: null | string

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

Implementation of

INotificationSettings.callVibrate


lowPriorityNotifications?

optional lowPriorityNotifications: null | boolean

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

Implementation of

INotificationSettings.lowPriorityNotifications


messageLight?

optional messageLight: null | string

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

Implementation of

INotificationSettings.messageLight


messagePopup?

optional messagePopup: null | string

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

Implementation of

INotificationSettings.messagePopup


messageVibrate?

optional messageVibrate: null | string

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

Implementation of

INotificationSettings.messageVibrate


reactionsMuted?

optional reactionsMuted: null | boolean

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

Implementation of

INotificationSettings.reactionsMuted

Methods

toJSON()

toJSON(): object

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

Returns

object


create()

static create(properties?): NotificationSettings

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

Parameters

properties?

INotificationSettings

Returns

NotificationSettings


decode()

static decode(r, l?): NotificationSettings

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

Parameters

r

Uint8Array<ArrayBufferLike> | Reader

l?

number

Returns

NotificationSettings


encode()

static encode(m, w?): Writer

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

Parameters

m

INotificationSettings

w?

Writer

Returns

Writer


fromObject()

static fromObject(d): NotificationSettings

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

Parameters

d

Returns

NotificationSettings


getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string

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

Parameters

typeUrlPrefix?

string

Returns

string


toObject()

static toObject(m, o?): object

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

Parameters

m

NotificationSettings

o?

IConversionOptions

Returns

object