Closed manojsitapara closed 4 years ago
Thanks for reporting Its fixed now, please download the latest version
In case if someone need help. here is example to creategroup
contacts = ["xxxxxxx@c.us"] status = driver.create_group('Test17',contacts)
In case if someone need help. here is example to creategroup
contacts = ["12058528526@c.us"] status = driver.create_group('Test17',contacts)
i do the same thing but get still get error:
webwhatsapi.wapi_js_wrapper.JsException: Error in function createGroup (javascript error: Cannot read property 'map' of undefined
(Session info: headless chrome=80.0.3987.116)). Command: return WAPI.createGroup('testing',['919408836525@c.us'], arguments[0])
I am using following code to create new whatsapp group but it seems not working, it gives timeout error, anyone can help?
driver.create_group('Test15',{'id': "XXXXX@c.us"})
I have tried to solve as suggested in following link, but still no luck
https://github.com/mukulhase/WebWhatsapp-Wrapper/issues/749
UPDATE:
It seems working after modifying following code
window.WAPI.createGroup = async function (name, contactsId) { if (!Array.isArray(contactsId)) { contactsId = [contactsId]; } return await window.Store.Wap.createGroup(name, 0, 0, contactsId); };
but it never return any value, it keep processing and getting following error
Can you please help me to fix issue?