Closed Eviltr0N closed 3 months ago
Try onAnyMessage
Try
onAnyMessage
Already tried... Having same issue with onAnyMessage
too
error from wa-js
Fix for urgency: add
creator.client.ThreadsafeBrowser.page_evaluate_sync("""
// Resolvenndo bug 'TypeError: i.Wid.isStatusV3 is not a function'
if(!WPP.whatsapp.Wid.isStatusV3) {
WPP.whatsapp.Wid.isStatusV3 = () => false
}
""")
or uncomment this part from receive_message.py
or uncomment this part from receive_message.py
Thanks... It worked.
Hi, by using
examples/receive_message.py
i have created a simple code that receives messages from specific chat and replies to it. Its working when the message is simple message and it doesn't work when the incoming message is tagged to other message or simply a reply. In the attached screenshotHii
,Msg - 1
,Msg - 2
andMsg - 4 Normal msg
seems to be captured bycreator.client.onMessage(new_message)
but when i tagged another msg in the chat, in case ofMsg -3 (tagged reply)
,Msg - 5
andMsg - 6
it doesn't print in the terminal.Here is code
Output: