Skip to main content

Class: PastParticipant

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

Implements

Constructors

new PastParticipant()

new PastParticipant(p?): PastParticipant

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

Parameters

p?

IPastParticipant

Returns

PastParticipant

Properties

leaveReason?

optional leaveReason: null | LeaveReason

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

Implementation of

IPastParticipant.leaveReason


leaveTs?

optional leaveTs: null | number | Long

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

Implementation of

IPastParticipant.leaveTs


userJid?

optional userJid: null | string

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

Implementation of

IPastParticipant.userJid

Methods

toJSON()

toJSON(): object

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

Returns

object


create()

static create(properties?): PastParticipant

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

Parameters

properties?

IPastParticipant

Returns

PastParticipant


decode()

static decode(r, l?): PastParticipant

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

Parameters

r

Uint8Array<ArrayBufferLike> | Reader

l?

number

Returns

PastParticipant


encode()

static encode(m, w?): Writer

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

Parameters

m

IPastParticipant

w?

Writer

Returns

Writer


fromObject()

static fromObject(d): PastParticipant

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

Parameters

d

Returns

PastParticipant


getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string

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

Parameters

typeUrlPrefix?

string

Returns

string


toObject()

static toObject(m, o?): object

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

Parameters

m

PastParticipant

o?

IConversionOptions

Returns

object