Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
def quick_replies():
text = "dynamic text"
response = [
{
"quickReplies": {
"title": text,
"quickReplies": [
"Quick Reply 1",
"Quick Reply 2",
"Quick Reply 3"
]
},
"platform": "FACEBOOK"
},
{
"text":{"text":["Dummy text"]}
}
]
reply = { "fulfillmentMessages": response }
return jsonify(reply)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment