Closed libhide closed 6 years ago
The error that is happening is that bootbot is expecting there to be a text
key inside of your event.message
object. Since it doesn't see this, it doesn't understand what is going on.
I have never heard of this happening so my guess is either:
You can see the text
under "Webhook Event" here https://developers.facebook.com/docs/messenger-platform/send-messages/quick-replies#text
Yeah, it turns out that I do need to pass in something as text
. Although, this is a BootBot
restriction and not something Facebook caused since I've made quick replies work without sending text before.
Any idea on how I can achieve what I want to achieve (not sending text) and still continue using BootBot
?
What do you mean by "sending text". I don't understand your use case. AFAIK facebook requires text with all quick replies. But this is maybe me just being in a bootbot echo chamber.
Also, according to the docs, text
or attachment
must be set.
I think there is a confusion betweentext
and title
– my bad.
I'm definitely sending a text
with the quick-reply but want to try and avoid sending a title
. According to the docs, this is possible.
Thoughts?
If you send a quickreply, you need to set text
. You are not setting text
. That is why you are receiving the error. If you set text
everything else should be fine. Follow my link to the calling bootbot code above if you still aren't following what I'm talking about.
Hey, I'm trying to follow the following example from the docs:
and the console is throwing out a "Webhook received unknown event" at me.
What am I doing wrong here?