res = {
"attachment": {
"type": "template",
"payload": {
"template_type": "one_time_notif_req",
"title": "Notify Me",
"payload": "Notify Me"
}
}
}
dispatcher.utter_custom_json(res)
This is the output of the following code, when i click the notify me button, i want to generate the OTN, but i dont know how?
erohmensing
(Ella Rohm-Ensing)
April 21, 2020, 2:17pm
2
Hi @jehanzaib12 do you know how that would work on the facebook API in general? This seems like something facebook should handle, not rasa…
@erohmensing it would be handle by facebook, but i don’t know how to do that
erohmensing
(Ella Rohm-Ensing)
April 27, 2020, 9:32pm
4
Got it. Sorry, I don’t know either hope someone else here can help you
darich10
(DarĂo Rosas )
August 25, 2020, 5:51pm
5
Hello, Did you already solve this problem?
I am working on the same but I don’t know how to catch the event on the webhook.
I hope you can help me.
Thanks in advance.
After you click the “notfiy me” button messenger will trigger the webhook. you need to write a code to listen to that webhook and trigger your action.
2 Likes
Hey,
Hope you solved the problem Then please your solution to us.