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 .
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/websocket/WapNode.d.ts:19
Constructors
constructor
new WapNode ( tag : any , attrs ?: { [ key : string ]: any } , content ?: any [] ) : WapNode
Parameters
tag : any
Optionalattrs : { [ key : string ]: any }
Optionalcontent : any []
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/websocket/WapNode.d.ts:25
Properties
attrs
attrs : { [ key : string ]: any }
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/websocket/WapNode.d.ts:21
content
content : string | Uint8Array < ArrayBufferLike > | WapNode []
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/websocket/WapNode.d.ts:24
tag
tag : any
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/websocket/WapNode.d.ts:20
Methods
to String
Returns string
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/websocket/WapNode.d.ts:28
Whatsapp
504784 >= 2.2301.6