简体   繁体   中英

WhatsApp api to send message to contact

I have started using the WhatsApp api to send messages with javascript. Using:

I have been able to send messages to existing chat with:

Store.Chat.models.find().sendMessage()

However I can't figure out hhow to send message to a given contact.

I have tried to use Store.Chat.add on a Store.Contacts.model instance but it did not work.

If you need to send multiple messages to a contact list, you can try using an unofficial API provider.

If you know node.js I suggest you take a look at this solution www.mercury.chat

I hope it can be useful

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM