Links
This widget allows displaying the links to the visitors along with the text and image using this widget.
Attribute | Mandatory | Description | Values |
type | Yes | The type of input to be displayed to the visitor | links |
links | yes | Specify the array of URLs that you would like to display to the visitor. | { "url" : "zylker.com " } |
Channel compatibility and limitations
- The card is supported on Facebook, Instagram, and WhatsApp.
- For Facebook and Instagram, the bot displays the links/URLs along with the text as a clickable button.
- For WhatsApp, the bot displays the raw links/URLs.
Sample code
Copied"user_defined": {
"zohosalesiq": {
"replies": [
{
"type": "links",
"text": "Cliq - Wireless Headphones
25% Off- $89.00 Only",
"image": "http://zylker.com/store/Cliq-wireless-headphones-34433.png",
"links": [
{
"url": "http://zylker.com/store/Cliq-wireless-headphones/34452//know-more",
"text": "Click here to buy",
"icon": "http://zylker.com/help/home.png"
}
]
}
]
}
}