Skip to main content
Defined in: WAProto/index.d.ts:8478

Implements

Constructors

new ProductMessage()

new ProductMessage(p?): ProductMessage
Defined in: WAProto/index.d.ts:8479

Parameters

p?
IProductMessage

Returns

ProductMessage

Properties

body?

optional body: null | string
Defined in: WAProto/index.d.ts:8483

Implementation of

IProductMessage.body

businessOwnerJid?

optional businessOwnerJid: null | string
Defined in: WAProto/index.d.ts:8481

Implementation of

IProductMessage.businessOwnerJid

catalog?

optional catalog: null | ICatalogSnapshot
Defined in: WAProto/index.d.ts:8482

Implementation of

IProductMessage.catalog

contextInfo?

optional contextInfo: null | IContextInfo
Defined in: WAProto/index.d.ts:8485

Implementation of

IProductMessage.contextInfo
optional footer: null | string
Defined in: WAProto/index.d.ts:8484

Implementation of

IProductMessage.footer

product?

optional product: null | IProductSnapshot
Defined in: WAProto/index.d.ts:8480

Implementation of

IProductMessage.product

Methods

create()

static create(properties?): ProductMessage
Defined in: WAProto/index.d.ts:8486

Parameters

properties?
IProductMessage

Returns

ProductMessage

decode()

static decode(r, l?): ProductMessage
Defined in: WAProto/index.d.ts:8488

Parameters

r
Uint8Array<ArrayBufferLike> | Reader
l?
number

Returns

ProductMessage

encode()

static encode(m, w?): Writer
Defined in: WAProto/index.d.ts:8487

Parameters

m
IProductMessage
w?
Writer

Returns

Writer

fromObject()

static fromObject(d): ProductMessage
Defined in: WAProto/index.d.ts:8489

Parameters

d

Returns

ProductMessage

getTypeUrl()

static getTypeUrl(typeUrlPrefix?): string
Defined in: WAProto/index.d.ts:8492

Parameters

typeUrlPrefix?
string

Returns

string

toJSON()

toJSON(): object
Defined in: WAProto/index.d.ts:8491

Returns

object

toObject()

static toObject(m, o?): object
Defined in: WAProto/index.d.ts:8490

Parameters

m
ProductMessage
o?
IConversionOptions

Returns

object