Demo: https://imlolman.github.io/Whatsapp-Chat-Widget/
Download WhatsappChatBox.min.js from here.
Add the file to your header
<script src="https://github.com/imlolman/Whatsapp-Chat-Widget/raw/main/WhatsappChatBox.min.js"></script>
Initiate with the configuration Configure with your settings
new WAChatBox({
link: "https://wa.me/919999999999",
user: {
name: "Alice",
avatar: "https://randomuser.me/api/portraits/women/66.jpg",
status: "Typically replies within an hour",
},
text: `Hey There 👋<br><br>I'm here to help, so let me know what's up and I'll be happy to find a solution 🤓`,
button_text: "Need Help?",
});