Just a few hours ago message sending stopped working.
Error in function sendMessage (TypeError: chat.sendMessage is not a function). Command: return WAPI.sendMessage('[email protected]','Test', arguments[0])
I was using WhatsAPIDriver.chat_send_message method when error happened, but as far as I'm concerned, all other send-related functions broke down as well: tried send_message_to_id, send_media, WAPI.getChat('[email protected]').sendMessage(), tested with both: python wrappers and JS-console inside the selenium.
It seems that the ChatClass class doesn't exist anymore.
Possible path
https://github.com/mukulhase/WebWhatsapp-Wrapper/compare/master...emilianot:patch-1
It seems that the ChatClass class doesn't exist anymore.
Possible path
master...emilianot:patch-1
thanks a lot! Solved
It seems that the ChatClass class doesn't exist anymore.
Possible path
master...emilianot:patch-1thanks a lot! Solved
Please, where is the solution? How can I solve it?
It seems that the ChatClass class doesn't exist anymore.
Possible path
master...emilianot:patch-1thanks a lot! Solved
Please, where is the solution? How can I solve it?
With this patch i can send_message_to_id and media now!
It seems that the ChatClass class doesn't exist anymore.
Possible path
master...emilianot:patch-1thanks a lot! Solved
Please, where is the solution? How can I solve it?
Replace wapi.js file with this
https://github.com/emilianot/WebWhatsapp-Wrapper/blob/2abc92bc498d5360ec15bc2d28d434a9405d2f66/webwhatsapi/js/wapi.js
it worked for me!
nice one!
it worked for me!
@emilianot Nice catch. Can you elaborate on how you reverse engineer this? The method can be used for other react based products from same company.
It seems that the ChatClass class doesn't exist anymore.
Possible path
master...emilianot:patch-1
I was using this patch. Problem with sendMessage appeared again.
Error in function sendMessage (TypeError: found is undefined). Command: return WAPI.sendMessage('[email protected]','message', arguments[0])
It seems that the ChatClass class doesn't exist anymore.
Possible path
master...emilianot:patch-1I was using this patch. Problem with sendMessage appeared again.
Error in function sendMessage (TypeError: found is undefined). Command: return WAPI.sendMessage('[email protected]','message', arguments[0])
Actually, patch still works fine. The problem appeared a few times on different accounts, but it can be handled with driver reload. Still, interested, if anyone encountered the same problem and is there a better solution.
It seems that the ChatClass class doesn't exist anymore.
Possible path
master...emilianot:patch-1I was using this patch. Problem with sendMessage appeared again.
Error in function sendMessage (TypeError: found is undefined). Command: return WAPI.sendMessage('[email protected]','message', arguments[0])Actually, patch still works fine. The problem appeared a few times on different accounts, but it can be handled with driver reload. Still, interested, if anyone encountered the same problem and is there a better solution.
I have the same problem and I can't fix it with a simple reboot and send_message_to_id returns false even if the message is sent successfully
It seems that the ChatClass class doesn't exist anymore.
Possible path
master...emilianot:patch-1thanks a lot! Solved
Please, where is the solution? How can I solve it?
Replace wapi.js file with this
https://github.com/emilianot/WebWhatsapp-Wrapper/blob/2abc92bc498d5360ec15bc2d28d434a9405d2f66/webwhatsapi/js/wapi.js
Worked fine, however "window.WAPI.deleteConversation" still broken. Maybe something to do with sendDelete object?
It seems that the ChatClass class doesn't exist anymore.
Possible path
master...emilianot:patch-1I was using this patch. Problem with sendMessage appeared again.
Error in function sendMessage (TypeError: found is undefined). Command: return WAPI.sendMessage('[email protected]','message', arguments[0])Actually, patch still works fine. The problem appeared a few times on different accounts, but it can be handled with driver reload. Still, interested, if anyone encountered the same problem and is there a better solution.
I'm still experiencing this! Some times it works, a lot of times not!
Most helpful comment
It seems that the ChatClass class doesn't exist anymore.
Possible path
https://github.com/mukulhase/WebWhatsapp-Wrapper/compare/master...emilianot:patch-1