Copied{
"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"
"123455438"
]
}
Copied
result = Map();
response = Map();
response.put("action", "reply");
response.put("replies", [{
"type": "articles",
"text": "Zylker Store's Terms & Condition :",
"image": "http://zylker.com/help/common.png",
"description": "Here is an list of articles",
"articles": [
"121212121",
"123434343",
"123334678"
]
}]);
prompt = Map();
prompt.put("param_name", "reply");
prompt.put("data", response);
result.put("prompt", prompt);
result.put("todo", "prompt");
return result;
result = Map();
response = Map();
response.put("action", "reply");
response.put("replies", [{
"type": "articles",
"text": "Zylker Store's Terms & Condition :",
"image": "http://zylker.com/help/common.png",
"description": "Here is an list of articles",
"articles": [
"121212121",
"123434343",
"123334678"
]
}]);
result.put("data", response);
return result;
Copied{
"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"
"123455438"
]
}
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"
]
}
]
}
Copied"user_defined": {
"zohosalesiq": {
"replies": [
{
"text": "Here are your reference articles",
"type": "articles",
"image": "http://zylker.com/help/common.png",
"description": "Here is a list of articles",
"articles": [
"121212121",
"123434343",
"123334678"
]
}
]
}
}
Copied"channelData":{
"zohosalesiq": {
"replies": [
{
"text": "Here are your reference articles",
"type": "articles",
"image": "http://zylker.com/help/common.png",
"description": "Here is a list of articles",
"articles": [
"121212121",
"123434343",
"123334678"
]
}
]
}
}