Skip to main content

PastParticipant

amiudmodz


amiudmodz / proto / PastParticipant

Class: PastParticipant

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

Implements​

Constructors​

new PastParticipant()​

new PastParticipant(p?): PastParticipant

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

Parameters​

p?​

IPastParticipant

Returns​

PastParticipant

Properties​

leaveReason?​

optional leaveReason: null | LeaveReason

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

Implementation of​

IPastParticipant.leaveReason


leaveTs?​

optional leaveTs: null | number | Long

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

Implementation of​

IPastParticipant.leaveTs


userJid?​

optional userJid: null | string

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

Implementation of​

IPastParticipant.userJid

Methods​

toJSON()​

toJSON(): object

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

Returns​

object


create()​

static create(properties?): PastParticipant

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

Parameters​

properties?​

IPastParticipant

Returns​

PastParticipant


decode()​

static decode(r, l?): PastParticipant

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

Parameters​

r​

Uint8Array<ArrayBufferLike> | Reader

l?​

number

Returns​

PastParticipant


encode()​

static encode(m, w?): Writer

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

Parameters​

m​

IPastParticipant

w?​

Writer

Returns​

Writer


fromObject()​

static fromObject(d): PastParticipant

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

Parameters​

d​

Returns​

PastParticipant


getTypeUrl()​

static getTypeUrl(typeUrlPrefix?): string

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

Parameters​

typeUrlPrefix?​

string

Returns​

string


toObject()​

static toObject(m, o?): object

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

Parameters​

m​

PastParticipant

o?​

IConversionOptions

Returns​

object