The Node.js SDK re-exports the WAJS namespace for TypeScript. This reference describes types from WA-JS 4.8.5-rc.0 . For operations available on a connected Node.js client, see Whatsapp . For functions running inside WhatsApp Web, see the WA-JS browser API .
interface OrderItems { id ?: string [] | number [] ; name ?: string ; price ?: number ; qnt ?: number ; type : "product" | "custom" ; }
Defined in node_modules/@wppconnect/wa-js/dist/chat/functions/sendChargeMessage.d.ts:18
Properties
Optionalid
id ?: string [] | number []
Defined in node_modules/@wppconnect/wa-js/dist/chat/functions/sendChargeMessage.d.ts:20
Optionalname
name ?: string
Defined in node_modules/@wppconnect/wa-js/dist/chat/functions/sendChargeMessage.d.ts:21
Optionalprice
price ?: number
Defined in node_modules/@wppconnect/wa-js/dist/chat/functions/sendChargeMessage.d.ts:22
Optionalqnt
qnt ?: number
Defined in node_modules/@wppconnect/wa-js/dist/chat/functions/sendChargeMessage.d.ts:23
type
type : "product" | "custom"
Defined in node_modules/@wppconnect/wa-js/dist/chat/functions/sendChargeMessage.d.ts:19