Looking to save money and be less dependent on the power company?
​
Know you need a new roof, but don't know what it will cost or where to start?
​
Use these calculators to find out what it will take.
bottom of page
import wixChatBackend from 'wix-chat-backend';
$w.onReady(function () {
let channelId = "YOUR_CHANNEL_ID"; // Replace with your channel ID
let obj = {
"messageText": "Hello! How can I assist you today?",
"channelId": channelId,
"sendAsVisitor": false
};
wixChatBackend.sendMessage(obj)
.then( () => {
console.log("Chat message sent");
})
.catch( (error) => {
console.log(error);
});
});