I want to add a link as a button in google dialogflow chatbot and it was integrated with kommunicate.
Please help me how we add a link as a button.When user clicks that button he has to redirect to another page.
Asked
Active
Viewed 869 times
1

Komal Cr
- 734
- 4
- 16
1 Answers
1
Use the below metadata to render the Link Buttons: Send custom data to bot platform via rich message response
{
"message": "click on the buttons",
"platform":"kommunicate",
"metadata": {
"contentType": "300",
"templateId": "3",
"payload": [{
"type": "link",
"url": "https://www.google.com",
"name": "Go To Google"
},
{
"type": "link",
"url": "https://www.facebook.com",
"name": "Go To Facebook",
"openLinkInNewTab": false
}
]
}
}
Use openLinkInNewTab: false to open any link in the same tab. Default value is true, which will open the links in the new tab.

Nikhil Savaliya
- 2,138
- 4
- 24
- 45
-
If we want these buttons in whatsapp means what i have to do. And i we want only button without link message means what i have to do. – Komal Cr Aug 13 '20 at 12:56
-
`"openLinkInNewTab": false` is not working any solution? or alternative? – Mohammed Khurram Jul 10 '21 at 09:15