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

Implements

Constructors

new WebNotificationsInfo()

new WebNotificationsInfo(p?): WebNotificationsInfo
Defined in: WAProto/index.d.ts:14004

Parameters

p?
IWebNotificationsInfo

Returns

WebNotificationsInfo

Properties

notifyMessageCount?

optional notifyMessageCount: null | number
Defined in: WAProto/index.d.ts:14007

Implementation of

IWebNotificationsInfo.notifyMessageCount

notifyMessages

notifyMessages: IWebMessageInfo[]
Defined in: WAProto/index.d.ts:14008

Implementation of

IWebNotificationsInfo.notifyMessages

timestamp?

optional timestamp: null | number | Long
Defined in: WAProto/index.d.ts:14005

Implementation of

IWebNotificationsInfo.timestamp

unreadChats?

optional unreadChats: null | number
Defined in: WAProto/index.d.ts:14006

Implementation of

IWebNotificationsInfo.unreadChats

Methods

create()

static create(properties?): WebNotificationsInfo
Defined in: WAProto/index.d.ts:14009

Parameters

properties?
IWebNotificationsInfo

Returns

WebNotificationsInfo

decode()

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

Parameters

r
Uint8Array<ArrayBufferLike> | Reader
l?
number

Returns

WebNotificationsInfo

encode()

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

Parameters

m
IWebNotificationsInfo
w?
Writer

Returns

Writer

fromObject()

static fromObject(d): WebNotificationsInfo
Defined in: WAProto/index.d.ts:14012

Parameters

d

Returns

WebNotificationsInfo

getTypeUrl()

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

Parameters

typeUrlPrefix?
string

Returns

string

toJSON()

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

Returns

object

toObject()

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

Parameters

m
WebNotificationsInfo
o?
IConversionOptions

Returns

object