mirror of
https://github.com/cheveguerra/bot-whatsapp.git
synced 2026-04-18 19:49:16 +00:00
15 lines
321 B
JavaScript
15 lines
321 B
JavaScript
const DialogCXFlowClass = require('./dialogflow-cx.class')
|
|
|
|
/**
|
|
* Crear instancia de clase Bot
|
|
* @param {*} args
|
|
* @returns
|
|
*/
|
|
const createBotDialog = async ({ database, provider }, _options) =>
|
|
new DialogCXFlowClass(database, provider, _options)
|
|
|
|
module.exports = {
|
|
createBotDialog,
|
|
DialogCXFlowClass,
|
|
}
|