Skip to content

Instantly share code, notes, and snippets.

@Anshul0305
Last active October 30, 2021 20:08
Show Gist options
  • Save Anshul0305/401834cad0d4debd2d43ccba361d8cc3 to your computer and use it in GitHub Desktop.
Save Anshul0305/401834cad0d4debd2d43ccba361d8cc3 to your computer and use it in GitHub Desktop.
BotUI Custom Payload
{
"buttons": [
"BUTTON 1",
"BUTTON 2"
]
}
{
"iframe": {
"src": "LINK"
}
}
{
"images": [
{
"src": "IMAGE SOURCE",
"alt": "ALT TEXT",
"width": "100%"
"url": "URL OPENED WHEN IMAGE IS CLICKED"
}
]
}
{
"videos": [
{
"url": "VIDEO URL",
"width": "100%"
}
]
}
@ashaicy
Copy link

ashaicy commented Jun 18, 2020

"messages": [
{
"speech": "Text response",
"type": 0
}
]

I tried this one this is not working

@ashaicy
Copy link

ashaicy commented Jun 18, 2020

OK Fine got it by adding text in Text or SSML response able to get text response

Copy link

ghost commented Jul 21, 2021

Is it possible to get Text responses when a button is clicked while using Dialog flow in messenger platform? if possible could anyone tell me how to do it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment