Skip to main content

Class: PastParticipant

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

Implements

Constructors

new PastParticipant()

new PastParticipant(p?): PastParticipant

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

Parameters

p?

IPastParticipant

Returns

PastParticipant

Properties

leaveReason?

optional leaveReason: null | LeaveReason

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

Implementation of

IPastParticipant.leaveReason


leaveTs?

optional leaveTs: null | number | Long

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

Implementation of

IPastParticipant.leaveTs


userJid?

optional userJid: null | string

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

Implementation of

IPastParticipant.userJid

Methods

toJSON()

toJSON(): object

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

Returns

object


create()

static create(properties?): PastParticipant

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

Parameters

properties?

IPastParticipant

Returns

PastParticipant


decode()

static decode(r, l?): PastParticipant

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

Parameters

r

Uint8Array<ArrayBufferLike> | Reader

l?

number

Returns

PastParticipant


encode()

static encode(m, w?): Writer

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

Parameters

m

IPastParticipant

w?

Writer

Returns

Writer


fromObject()

static fromObject(d): PastParticipant

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

Parameters

d

Returns

PastParticipant


getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string

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

Parameters

typeUrlPrefix?

string

Returns

string


toObject()

static toObject(m, o?): object

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

Parameters

m

PastParticipant

o?

IConversionOptions

Returns

object