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 .
Class ProductCatalogSession
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/misc/ProductCatalogSession.d.ts:19
Constructors
constructor
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/misc/ProductCatalogSession.d.ts:20
Properties
Optionalaccidental
accidental ?: boolean
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/misc/ProductCatalogSession.d.ts:21
Optionalsession Id
sessionId ?: string | number
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/misc/ProductCatalogSession.d.ts:22
Methods
init Session Id
Returns number
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/misc/ProductCatalogSession.d.ts:24
is Accidental
Returns boolean
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/misc/ProductCatalogSession.d.ts:23
new Session Id
Returns number
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/misc/ProductCatalogSession.d.ts:25
to String
Returns string
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/misc/ProductCatalogSession.d.ts:26
Whatsapp
409153 >= 2.2228.14