Skip to main content

Class: ProductMessage

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

Implements

Constructors

new ProductMessage()

new ProductMessage(p?): ProductMessage

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

Parameters

p?

IProductMessage

Returns

ProductMessage

Properties

body

body: string

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

Implementation of

IProductMessage.body


businessOwnerJid

businessOwnerJid: string

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

Implementation of

IProductMessage.businessOwnerJid


catalog?

optional catalog: null | ICatalogSnapshot

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

Implementation of

IProductMessage.catalog


contextInfo?

optional contextInfo: null | IContextInfo

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

Implementation of

IProductMessage.contextInfo


footer: string

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

Implementation of

IProductMessage.footer


product?

optional product: null | IProductSnapshot

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

Implementation of

IProductMessage.product

Methods

create()

static create(properties?): ProductMessage

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

Parameters

properties?

IProductMessage

Returns

ProductMessage


decode()

static decode(r, l?): ProductMessage

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

Parameters

r

Uint8Array<ArrayBufferLike> | Reader

l?

number

Returns

ProductMessage


encode()

static encode(m, w?): Writer

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

Parameters

m

IProductMessage

w?

Writer

Returns

Writer


getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string

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

Parameters

typeUrlPrefix?

string

Returns

string