Skip to main content

ProductMessage

amiudmodz


amiudmodz / proto / Message / ProductMessage

Class: ProductMessage

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

Implements​

Constructors​

new ProductMessage()​

new ProductMessage(p?): ProductMessage

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

Parameters​

p?​

IProductMessage

Returns​

ProductMessage

Properties​

body?​

optional body: null | string

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

Implementation of​

IProductMessage.body


businessOwnerJid?​

optional businessOwnerJid: null | string

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

Implementation of​

IProductMessage.businessOwnerJid


catalog?​

optional catalog: null | ICatalogSnapshot

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

Implementation of​

IProductMessage.catalog


contextInfo?​

optional contextInfo: null | IContextInfo

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

Implementation of​

IProductMessage.contextInfo


optional footer: null | string

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

Implementation of​

IProductMessage.footer


product?​

optional product: null | IProductSnapshot

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

Implementation of​

IProductMessage.product

Methods​

toJSON()​

toJSON(): object

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

Returns​

object


create()​

static create(properties?): ProductMessage

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

Parameters​

properties?​

IProductMessage

Returns​

ProductMessage


decode()​

static decode(r, l?): ProductMessage

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

Parameters​

r​

Uint8Array<ArrayBufferLike> | Reader

l?​

number

Returns​

ProductMessage


encode()​

static encode(m, w?): Writer

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

Parameters​

m​

IProductMessage

w?​

Writer

Returns​

Writer


fromObject()​

static fromObject(d): ProductMessage

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

Parameters​

d​

Returns​

ProductMessage


getTypeUrl()​

static getTypeUrl(typeUrlPrefix?): string

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

Parameters​

typeUrlPrefix?​

string

Returns​

string


toObject()​

static toObject(m, o?): object

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

Parameters​

m​

ProductMessage

o?​

IConversionOptions

Returns​

object