Skip to main content

Class: GroupParticipant

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

Implements

Constructors

new GroupParticipant()

new GroupParticipant(p?): GroupParticipant

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

Parameters

p?

IGroupParticipant

Returns

GroupParticipant

Properties

rank?

optional rank: null | Rank

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

Implementation of

IGroupParticipant.rank


userJid

userJid: string

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

Implementation of

IGroupParticipant.userJid

Methods

toJSON()

toJSON(): object

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

Returns

object


create()

static create(properties?): GroupParticipant

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

Parameters

properties?

IGroupParticipant

Returns

GroupParticipant


decode()

static decode(r, l?): GroupParticipant

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

Parameters

r

Uint8Array<ArrayBufferLike> | Reader

l?

number

Returns

GroupParticipant


encode()

static encode(m, w?): Writer

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

Parameters

m

IGroupParticipant

w?

Writer

Returns

Writer


fromObject()

static fromObject(d): GroupParticipant

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

Parameters

d

Returns

GroupParticipant


getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string

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

Parameters

typeUrlPrefix?

string

Returns

string


toObject()

static toObject(m, o?): object

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

Parameters

m

GroupParticipant

o?

IConversionOptions

Returns

object