Skip to main content

Class: WebNotificationsInfo

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

Implements

Constructors

new WebNotificationsInfo()

new WebNotificationsInfo(p?): WebNotificationsInfo

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

Parameters

p?

IWebNotificationsInfo

Returns

WebNotificationsInfo

Properties

notifyMessageCount?

optional notifyMessageCount: null | number

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

Implementation of

IWebNotificationsInfo.notifyMessageCount


notifyMessages

notifyMessages: IWebMessageInfo[]

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

Implementation of

IWebNotificationsInfo.notifyMessages


timestamp?

optional timestamp: null | number | Long

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

Implementation of

IWebNotificationsInfo.timestamp


unreadChats?

optional unreadChats: null | number

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

Implementation of

IWebNotificationsInfo.unreadChats

Methods

toJSON()

toJSON(): object

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

Returns

object


create()

static create(properties?): WebNotificationsInfo

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

Parameters

properties?

IWebNotificationsInfo

Returns

WebNotificationsInfo


decode()

static decode(r, l?): WebNotificationsInfo

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

Parameters

r

Uint8Array<ArrayBufferLike> | Reader

l?

number

Returns

WebNotificationsInfo


encode()

static encode(m, w?): Writer

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

Parameters

m

IWebNotificationsInfo

w?

Writer

Returns

Writer


fromObject()

static fromObject(d): WebNotificationsInfo

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

Parameters

d

Returns

WebNotificationsInfo


getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string

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

Parameters

typeUrlPrefix?

string

Returns

string


toObject()

static toObject(m, o?): object

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

Parameters

m

WebNotificationsInfo

o?

IConversionOptions

Returns

object