Skip to main content

WebNotificationsInfo

amiudmodz


amiudmodz / proto / WebNotificationsInfo

Class: WebNotificationsInfo

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

Implements

Constructors

new WebNotificationsInfo()

new WebNotificationsInfo(p?): WebNotificationsInfo

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

Parameters

p?

IWebNotificationsInfo

Returns

WebNotificationsInfo

Properties

notifyMessageCount?

optional notifyMessageCount: null | number

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

Implementation of

IWebNotificationsInfo.notifyMessageCount


notifyMessages

notifyMessages: IWebMessageInfo[]

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

Implementation of

IWebNotificationsInfo.notifyMessages


timestamp?

optional timestamp: null | number | Long

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

Implementation of

IWebNotificationsInfo.timestamp


unreadChats?

optional unreadChats: null | number

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

Implementation of

IWebNotificationsInfo.unreadChats

Methods

toJSON()

toJSON(): object

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

Returns

object


create()

static create(properties?): WebNotificationsInfo

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

Parameters

properties?

IWebNotificationsInfo

Returns

WebNotificationsInfo


decode()

static decode(r, l?): WebNotificationsInfo

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

Parameters

r

Uint8Array<ArrayBufferLike> | Reader

l?

number

Returns

WebNotificationsInfo


encode()

static encode(m, w?): Writer

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

Parameters

m

IWebNotificationsInfo

w?

Writer

Returns

Writer


fromObject()

static fromObject(d): WebNotificationsInfo

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

Parameters

d

Returns

WebNotificationsInfo


getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string

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

Parameters

typeUrlPrefix?

string

Returns

string


toObject()

static toObject(m, o?): object

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

Parameters

m

WebNotificationsInfo

o?

IConversionOptions

Returns

object