-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Cannot add attachments to convo.say #196
Comments
👍 cannot figure out how to include attachments and follow up with facebook_postback if in the middle of a conversation. |
If you mean send facebook cards the answer is, yes you can. Just add a json structure (or some function to make it). And you can use callbacks with json response.
|
@blanxii but how do you use it as part of a conversation?
|
@eshaham Sorry didn't read about conversation system. This system didn't support the conversation with cards. You should make something like routing all requests (if you see botkid they make this system for conversation, they add in conversation message something like:
Controller_name route the current message in those conversation. And you should make something like that. Send Facebook card with payload:
When user trigger option you should route it
With that you can make a "fake conversation system"... |
I'd like to be able to embed images in conversation.say(), too. Been poking around other methods but haven't been able to get it to work without bot.reply. |
Looks like someone's already implemented this and opened a pull request for it. Works great for me with embedded images. |
This has been fixed via PRs! Thanks guys. You should now be able to include the attachment field everywhere. |
Hi,
I cannot add attachments inside of conversation replies. This means that you cannot reply in a conversation with a structured message for facebook bots and can't send images or such as replies.
Also, thanks for building an awesome framework! It's so easy to use
The text was updated successfully, but these errors were encountered: