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

How Identify whatsapp calls #799

Open mikelustosa opened 4 years ago

mikelustosa commented 4 years ago

I would like to be able to identify when an incoming call occurs. It's possible?

marcelocecin commented 4 years ago

https://github.com/mukulhase/WebWhatsapp-Wrapper/blob/master/sample/log_all.py

mikelustosa commented 4 years ago

https://github.com/mukulhase/WebWhatsapp-Wrapper/blob/master/sample/log_all.py

Thanks for the answer.

Do you have an example of how to use this? Can I use pure JS?

marcelocecin commented 4 years ago

https://github.com/smashah/sulla/blob/master/demo/index.ts

if (message.type==="call_log")