adventurous-glass-22349
07/24/2023, 2:13 PMbumpy-butcher-41910
07/24/2023, 2:17 PMadventurous-glass-22349
07/24/2023, 2:22 PMbumpy-butcher-41910
07/24/2023, 2:25 PMadventurous-glass-22349
07/24/2023, 2:27 PMbumpy-butcher-41910
07/24/2023, 2:28 PMadventurous-glass-22349
07/24/2023, 2:49 PMbumpy-butcher-41910
07/24/2023, 2:51 PMbumpy-butcher-41910
07/24/2023, 2:51 PMadventurous-glass-22349
07/24/2023, 2:55 PMicy-address-63961
07/24/2023, 5:23 PMadventurous-glass-22349
07/24/2023, 5:54 PMadventurous-glass-22349
07/24/2023, 5:55 PMicy-address-63961
07/24/2023, 6:23 PMicy-address-63961
07/24/2023, 6:48 PMicy-address-63961
07/24/2023, 6:51 PMjs
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Hello, world!</title>
<meta name="viewport" content="width=device-width,initial-scale=1" />
<meta name="description" content="" />
<link rel="icon" href="favicon.png" />
<!-- CSS to style the Botpress chat widget -->
<style>
#bp-widget-root {
position: fixed;
bottom: 10px; /* change this value to increase/decrease the distance from the bottom edge /
right: 10px; / change this value to increase/decrease the distance from the right edge /
}
@media only screen and (max-width: 600px) {
#bp-widget-root {
/ Adjust the position and/or size of the widget for small screens here /
right: 5px;
bottom: 5px;
width: 90%; / Adjust width /
height: 60%; / Adjust height
}
*/
}
</style>
</head>
<body>
<script src="https://cdn.botpress.cloud/webchat/v0/inject.js"></script>
<script>
window.botpressWebChat.init({
composerPlaceholder: "Hi!",
botConversationDescription:
botConversationDescription,
botId: botId,
hostUrl: "https://cdn.botpress.cloud/webchat/v0",
messagingUrl: "https://messaging.botpress.cloud",
clientId: clientId,
avatarUrl: avatarUrl,
website: Site,
// Set the name of the bot that will be displayed in the WebChat interface
botName: Name,
showBotInfoPage: true,
// Set the width of the WebChat container and layout to 100% (Full Screen)
containerWidth: "100%25",
layoutWidth: "100%25",
// Hide the widget and disable animations
hideWidget: true,
disableAnimations: true,
});
// Opens up the Chatbot by default
// This lets users start chatting with the Chatbot without needing to click any buttons or menus.
window.botpressWebChat.onEvent(
function () {
window.botpressWebChat.sendEvent({ type: "show" });
},
["LIFECYCLE.LOADED"]
);
</script>
</body>
</html>
icy-address-63961
07/24/2023, 9:06 PMbright-magazine-792
07/25/2023, 7:13 PM