mirror of
https://github.com/cheveguerra/bot-whatsapp.git
synced 2026-04-19 12:09:15 +00:00
refactor(io): added new method addChild
This commit is contained in:
@@ -10,6 +10,7 @@ const { toSerialize } = require('./toSerialize')
|
||||
const addAnswer =
|
||||
(inCtx) =>
|
||||
(answer, options, cb = null, nested = []) => {
|
||||
answer = Array.isArray(answer) ? answer.join('\n') : answer
|
||||
/**
|
||||
* Todas las opciones referentes a el mensaje en concreto options:{}
|
||||
* @returns
|
||||
|
||||
Reference in New Issue
Block a user