You can make a support for this work by DONATING. We use mime-types package to get the file extension by it's mimetype, so we can download all of the type of media message.Īnd we decided (for this example) to use time as the filename, because the media filename is not certain exists. I add an example to downloading the message media if exists. WhatsApp Web is the browser-based PC client of WhatsApp. The API will replying with the groups info WhatsApp Web allows you to send and receive WhatsApp messages online on your Desktop PC or Tablet.Send a message to the API number !groups Note: The authentication is handled by your device’s operating system using the biometrics stored there.Here the way to get the groups info (including ID & name): id (optional if name given): the chat ID.You can send the message to any group by using chatID or group name, chatID will used if you specify the id field in the form, so if you want to send by name, only use name. Some errors may occurs with the old versions, so please try to update the library version before creating an issue. Whatsapp API Tutorial: Fix Session & Support for Multi-Device BetaĪs because Whatsapp regularly makes an update, so we needs to always use the latest version of whatsapp-web.js.Whatsapp API Tutorial: Dynamic Message Reply.Whatsapp API Tutorial: Fix Heroku Session.Whatsapp API Tutorial: Multiple Device | Part 2.Whatsapp API Tutorial: Deploy to Heroku.Whatsapp API Tutorial: Sending Media File.Hi, this is the implementation example of whatsapp-web.js
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |