Implements
Constructors
new ProductMessage()
new ProductMessage(Defined in: WAProto/index.d.ts:8479p?):ProductMessage
Parameters
p?
IProductMessage
Returns
ProductMessage
Properties
body?
Defined in: WAProto/index.d.ts:8483optionalbody:null|string
Implementation of
IProductMessage.body
businessOwnerJid?
Defined in: WAProto/index.d.ts:8481optionalbusinessOwnerJid:null|string
Implementation of
IProductMessage.businessOwnerJid
catalog?
Defined in: WAProto/index.d.ts:8482optionalcatalog:null|ICatalogSnapshot
Implementation of
IProductMessage.catalog
contextInfo?
Defined in: WAProto/index.d.ts:8485optionalcontextInfo:null|IContextInfo
Implementation of
IProductMessage.contextInfo
footer?
Defined in: WAProto/index.d.ts:8484optionalfooter:null|string
Implementation of
IProductMessage.footer
product?
Defined in: WAProto/index.d.ts:8480optionalproduct:null|IProductSnapshot
Implementation of
IProductMessage.product
Methods
create()
Defined in: WAProto/index.d.ts:8486staticcreate(properties?):ProductMessage
Parameters
properties?
IProductMessage
Returns
ProductMessage
decode()
Defined in: WAProto/index.d.ts:8488staticdecode(r,l?):ProductMessage
Parameters
r
Uint8Array<ArrayBufferLike> | Reader
l?
number
Returns
ProductMessage
encode()
Defined in: WAProto/index.d.ts:8487staticencode(m,w?):Writer
Parameters
m
IProductMessage
w?
Writer
Returns
Writer
fromObject()
Defined in: WAProto/index.d.ts:8489staticfromObject(d):ProductMessage
Parameters
d
Returns
ProductMessage
getTypeUrl()
Defined in: WAProto/index.d.ts:8492staticgetTypeUrl(typeUrlPrefix?):string
Parameters
typeUrlPrefix?
string
Returns
string
toJSON()
toJSON(): object
Defined in: WAProto/index.d.ts:8491
Returns
object
toObject()
Defined in: WAProto/index.d.ts:8490statictoObject(m,o?):object
Parameters
m
ProductMessage
o?
IConversionOptions
Returns
object