Articles
This widget helps to display the articles to the visitors along with the text and images.
Attribute | Mandatory | Description | Values |
type | Yes | The type of input to be displayed to the visitor | articles |
articles | yes | Specify the array of article IDs that you would like to display to the visitor | "articles":[121212121,1234343434] |
description | No | Specify the description for the article you display to the visitors. | "description":" your description" |
Note: If the article ID is not mentioned, the articles will not be displayed.
Channel compatibility and limitations
Facebook Messenger:
- The card is supported on Facebook.
- A public URL will be used to display the articles.
- When clicking on the URL, the articles will open by the default browser.
Instagram:
- The card is supported on Instagram.
- A public URL will be used to display the articles.
- When clicking on the URL, the articles will open by the default browser.
WhatsApp:
- The card is supported on WhatsApp.
- A public URL will be used to display the articles.
- When clicking on the URL, the articles will open by the default browser.
Sample code
Copied{
"platform": "ZOHOSALESIQ",
"action": "reply",
"replies": [
{
"type": "articles",
"text": "Zylker Store's Terms & Condition :",
"image": "http://zylker.com/help/common.png",
"description": "Here is a list of articles",
"articles": [
"121212121",
"123434343",
"123334678"
]
}
]
}