feat(provider): added dialogflow

This commit is contained in:
Leifer Mendez
2022-12-19 13:32:54 +01:00
12 changed files with 225 additions and 8 deletions

View File

@@ -58,13 +58,13 @@ class CoreClass {
]
/**
*
* @param {*} messageInComming
* GLOSSARY.md
* @param {*} messageCtxInComming
* @returns
*/
handleMsg = async (messageInComming) => {
logger.log(`[handleMsg]: `, messageInComming)
const { body, from } = messageInComming
handleMsg = async (messageCtxInComming) => {
logger.log(`[handleMsg]: `, messageCtxInComming)
const { body, from } = messageCtxInComming
let msgToSend = []
let fallBackFlag = false