acoustic-lifeguard-95600
04/17/2025, 9:57 AMorange-egg-72655
04/23/2025, 6:17 PMhtml
<div id="webchat-container" style="position: relative; width: 100%; height: 100%;">
<script src="https://cdn.botpress.cloud/webchat/v2.3/inject.js"></script>
<script>
window.botpress.on("webchat:ready", () => {
window.botpress.open();
});
window.botpress.init({
"botId": "YOUR_BOT_ID",
"configuration": {
},
"clientId": "YOUR_CLIENT_ID"
});
</script>
<style>
.bpWebchat {
width: 320px !important; /* Controls the width of the chat window */
height: 450px !important; /* Controls the height of the chat window */
}
}
</style>
</div>
You can place @media (max-width: 767px) above it to detect if on mobileorange-egg-72655
04/23/2025, 6:17 PMacoustic-lifeguard-95600
05/01/2025, 7:04 AM