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 .
Function createFanoutMsgStanza
createFanoutMsgStanza ( msg : MsgModel , data : any , proto : { [ key : string ]: any } , devices : WAJS . whatsapp . Wid [] , options : { [ key : string ]: any } , ) : Promise < WapNode >
Returns Promise < WapNode >
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/functions/createFanoutMsgStanza.d.ts:20
createFanoutMsgStanza ( message : { data : MsgModel ; type : string } , proto : { [ key : string ]: any } , devices : WAJS . whatsapp . Wid [] , options : { [ key : string ]: any } , reporter : any , groupData ?: any , ) : Promise < WapNode >
Parameters
message : { data : MsgModel ; type : string }
proto : { [ key : string ]: any }
devices : WAJS . whatsapp . Wid []
options : { [ key : string ]: any }
reporter : any
OptionalgroupData : any
Returns Promise < WapNode >
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/functions/createFanoutMsgStanza.d.ts:25
createFanoutMsgStanza ( params : { chatId : WAJS . whatsapp . Wid ; deviceList : WAJS . whatsapp . Wid [] ; groupData ?: any ; metricReporter ?: any ; msgProtobuf : { [ key : string ]: any } ; msgRecord : { data : MsgModel ; type : string } ; option ?: { [ key : string ]: any } ; scheduledMsgMetadata ?: any ; } , ) : Promise < WapNode >
Parameters
params : { chatId : WAJS . whatsapp . Wid ; deviceList : WAJS . whatsapp . Wid [] ; groupData ?: any ; metricReporter ?: any ; msgProtobuf : { [ key : string ]: any } ; msgRecord : { data : MsgModel ; type : string } ; option ?: { [ key : string ]: any } ; scheduledMsgMetadata ?: any ; }
Returns Promise < WapNode >
Defined in node_modules/@wppconnect/wa-js/dist/whatsapp/functions/createFanoutMsgStanza.d.ts:36
Whatsapp