mirror of
https://github.com/cheveguerra/bot-whatsapp.git
synced 2026-04-19 03:59:17 +00:00
14 lines
317 B
JavaScript
14 lines
317 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,
|
|
}
|