Closed tradename closed 2 years ago
have you tried sendMessage2 function? It might work !!
sendmessage2 won't work again,
error message
/snapshot/master/src/WAPI.js:307 Uncaught TypeError: Cannot read property 'sendMessage' of undefined
at Object.window.WAPI.getChat (/snapshot/master/src/WAPI.js:307)
at Object.window.WAPI.sendMessage2 (/snapshot/master/src/WAPI.js:829)
at
have a look at inject.js https://github.com/vasani-arpit/WBOT/blob/master/src/inject.js#L212 sendMessage2
is being used in all places there. If your bot responds then sendMessage2
is working.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Function's sendmessage('Number@c.us','my message's) and sendmessagetoID seem not to be sending to contacts that have not been recently contacted. It's also not sending to contacts saved in phone .