This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var BE_API = window.BE_API || {}; | |
// open chat widget after 45 seconds | |
BE_API.onLoad = function () { | |
var time = 45 * 1000; // 45 seconds | |
setTimeout(function() { | |
BE_API.openChat(); | |
}, time); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Start of BotEngine (www.botengine.ai) code --> | |
<script type="text/javascript"> | |
window.__be = window.__be || {}; | |
window.__be.id = "5bf1c94058b7d56896764446"; | |
(function() { | |
var be = document.createElement('script'); be.type = 'text/javascript'; be.async = true; | |
be.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'cdn.botengine.ai/widget/plugin.js'; | |
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(be, s); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
const TOKEN = '{{YOUR_TOKEN}}'; // put your authorization token here | |
const express = require('express'); | |
const { Router } = require('express'); | |
const router = new Router(); | |
const app = express(); | |
const functions = require('firebase-functions'); | |
const firebase = require('firebase-admin'); |
OlderNewer