ChatBot Integration
This commit is contained in:
@ -91,6 +91,18 @@
|
||||
<script src="https://code.jquery.com/jquery-3.6.3.min.js"
|
||||
integrity="sha256-pvPw+upLPUjgMXY0G+8O0xUf+/Im1MZjXxxgOcBQBXU=" crossorigin="anonymous"></script>
|
||||
|
||||
{{-- Botman --}}
|
||||
<script src='https://cdn.jsdelivr.net/npm/botman-web-widget@0/build/js/widget.js'></script>
|
||||
|
||||
{{-- Botman Script --}}
|
||||
<script>
|
||||
var botmanWidget = {
|
||||
// frameEndpoint: '/iFrameUrl'
|
||||
aboutText: 'Bibhuti',
|
||||
introMessage: 'Type Hi to start conversation.',
|
||||
|
||||
};
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
@ -110,14 +122,14 @@
|
||||
if (successMessage) {
|
||||
successMessage.style.display = 'none';
|
||||
}
|
||||
}, 2000); // 3000 milliseconds = 3 seconds
|
||||
}, 2000);
|
||||
|
||||
setTimeout(function() {
|
||||
var errorMessage = document.getElementById('error-message');
|
||||
if (errorMessage) {
|
||||
errorMessage.style.display = 'none';
|
||||
}
|
||||
}, 2000); // 2000 milliseconds = 3 seconds
|
||||
}, 2000);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
Reference in New Issue
Block a user