The Node.js SDK re-exports the WAJS namespace for TypeScript. This reference describes types from WA-JS 4.7.2. For operations available on a connected Node.js client, see Whatsapp. For functions running inside WhatsApp Web, see the WA-JS browser API.
A Relay request document, as generated in the *.graphql WhatsApp modules.
fetchQuery only reads params from it — the operation is sent to MEX as a
persisted query (params.id + variables), which is why params.text is
always null in WhatsApp's own documents.
A Relay request document, as generated in the
*.graphqlWhatsApp modules.fetchQueryonly readsparamsfrom it — the operation is sent to MEX as a persisted query (params.id+ variables), which is whyparams.textis alwaysnullin WhatsApp's own documents.