Skip to main content

Class: GroupParticipant

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

Implements

Constructors

new GroupParticipant()

new GroupParticipant(p?): GroupParticipant

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

Parameters

p?

IGroupParticipant

Returns

GroupParticipant

Properties

memberLabel?

optional memberLabel: null | IMemberLabel

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

Implementation of

IGroupParticipant.memberLabel


rank?

optional rank: null | Rank

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

Implementation of

IGroupParticipant.rank


userJid

userJid: string

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

Implementation of

IGroupParticipant.userJid

Methods

toJSON()

toJSON(): object

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

Returns

object


create()

static create(properties?): GroupParticipant

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

Parameters

properties?

IGroupParticipant

Returns

GroupParticipant


decode()

static decode(r, l?): GroupParticipant

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

Parameters

r

Uint8Array<ArrayBufferLike> | Reader

l?

number

Returns

GroupParticipant


encode()

static encode(m, w?): Writer

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

Parameters

m

IGroupParticipant

w?

Writer

Returns

Writer


fromObject()

static fromObject(d): GroupParticipant

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

Parameters

d

Returns

GroupParticipant


getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string

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

Parameters

typeUrlPrefix?

string

Returns

string


toObject()

static toObject(m, o?): object

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

Parameters

m

GroupParticipant

o?

IConversionOptions

Returns

object