-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Hello there, was wondering if there was any way to send arguments alongside the message with .sendMessageToBot();
something like the following:
const msg = {
message: 'hello',
args: { entities: ['bla1', 'bla2'], intents: 'test' }
}
.sendMessageToBot(msg, "Bot says hello to you too");
I am using args in my dialogs to handle logic
(session, args, next) => {
if (args.something) {
do something
}
else {
do something else
}
}
Thank you.
Metadata
Metadata
Assignees
Labels
No labels