Skip to main content

Class: ContactAction

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

Implements

Constructors

new ContactAction()

new ContactAction(p?): ContactAction

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

Parameters

p?

IContactAction

Returns

ContactAction

Properties

firstName?

optional firstName: null | string

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

Implementation of

IContactAction.firstName


fullName?

optional fullName: null | string

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

Implementation of

IContactAction.fullName


lidJid?

optional lidJid: null | string

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

Implementation of

IContactAction.lidJid


pnJid?

optional pnJid: null | string

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

Implementation of

IContactAction.pnJid


saveOnPrimaryAddressbook?

optional saveOnPrimaryAddressbook: null | boolean

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

Implementation of

IContactAction.saveOnPrimaryAddressbook


username?

optional username: null | string

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

Implementation of

IContactAction.username

Methods

toJSON()

toJSON(): object

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

Returns

object


create()

static create(properties?): ContactAction

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

Parameters

properties?

IContactAction

Returns

ContactAction


decode()

static decode(r, l?): ContactAction

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

Parameters

r

Uint8Array<ArrayBufferLike> | Reader

l?

number

Returns

ContactAction


encode()

static encode(m, w?): Writer

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

Parameters

m

IContactAction

w?

Writer

Returns

Writer


fromObject()

static fromObject(d): ContactAction

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

Parameters

d

Returns

ContactAction


getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string

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

Parameters

typeUrlPrefix?

string

Returns

string


toObject()

static toObject(m, o?): object

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

Parameters

m

ContactAction

o?

IConversionOptions

Returns

object