mukulhase / WebWhatsapp-Wrapper

An API for sending and receiving messages over web.whatsapp [Working as of 18th May 2018]
https://webwhatsapi.readthedocs.io/en/latest/
MIT License
2.02k stars 796 forks source link

driver.send_contact??? #1060

Open 3cubos opened 2 years ago

3cubos commented 2 years ago

How do I send a contact? driver.send_contact(phone_whatsapp, phone_contact) does not work!

Hi, comand send_contact ? I, add in int.py: def send_contact(self, chat_id, contact_ids): return self.wapi_functions.sendContact(chat_id, contact_ids)

return erro: Error in function sendContact (TypeError: window.WAPI.getChat(...).sendContact is not a function). Command: return WAPI.sendContact('558694434027@c.us','558694518432@c.us', arguments[0])