You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.
Hi,
In my conversation, I want to show a webpage to the user, so that he can check items he wants to order. I need to go back to the conversation afterward. When I try to spawn an instance of the bot, I'm having an error in bot.createconversation.
It use " let bot = controller.spawn({}); " which works well with facebook bot but does not seems to be enough for web bot.
I'm having the following error 👍
"info: An error occurred while sending a message: TypeError: Cannot read property 'json' of undefined"
When I look at the code, it's bot.http_response that is undefined.
Here is the code :
goto_checkout: function (controller, message) {
let bot = controller.spawn({});
bot.createConversation(message, this.checkout);
},
Many thanks !
The text was updated successfully, but these errors were encountered:
Hi,
In my conversation, I want to show a webpage to the user, so that he can check items he wants to order. I need to go back to the conversation afterward. When I try to spawn an instance of the bot, I'm having an error in bot.createconversation.
It use " let bot = controller.spawn({}); " which works well with facebook bot but does not seems to be enough for web bot.
I'm having the following error 👍
"info: An error occurred while sending a message: TypeError: Cannot read property 'json' of undefined"
When I look at the code, it's bot.http_response that is undefined.
Here is the code :
Many thanks !
The text was updated successfully, but these errors were encountered: