Quick Replies
The quick_replies property of the server response is optional. Quick replies cannot be used in the dynamic block of a content block if there are other blocks after it.
Go to block quick reply
texto
{
"version": "v1",
"content": {
"messages": [
{
"type": "text",
"text": "simple text with button",
"buttons": [
{
"type": "url",
"caption": "External link",
"url": "https://NicoChat.com.br"
}
]
}
],
"actions": [],
"quick_replies": [
{
"type": "node",
"caption": "Show",
"target": "My Content"
}
]
}
}
The target key must be linked to a block that exists within the running flow. The block name appears in its header; use a unique name for the block connected to the link. If there are multiple blocks with similar names inside the same flow, the transition will not behave as expected. Go to block quick replies are not supported in the Public API.
Dynamic block callback quick reply
The "headers" and "payload" properties are optional.
texto
{
"version": "v1",
"content": {
"messages": [
{
"type": "text",
"text": "simple text with button",
"buttons": [
{
"type": "url",
"caption": "External link",
"url": "https://NicoChat.com.br"
}
]
}
],
"actions": [],
"quick_replies": [
{
"type": "dynamic_block_callback",
"caption": "Dynamic content",
"url": "https://your-service.com/dynamic",
"method": "post",
"headers": {
"x-header": "value"
},
"payload": {
"key": "value"
}
}
]
}
}

