Image for Zia Skills

You can display the links to the visitors along with the text and image using this widget.

AttributeMandatoryDescriptionValues
typeYesThe type of the input to be dispalyed to the visitorimage
imageyesYou can specify the image that you would like to display to the visitor{  
   "image":"image URL",
}

Use Case:

Context Handler function:

Copiedresult = Map();
response = Map();
response.put("action", "reply");
response.put("replies",[{
    "text": "Here is the reference image",
    "image": "http://zylker.com/help/common.png"
}]);
prompt = Map();
prompt.put("param_name", "reply");
prompt.put("data", response);
result.put("prompt", prompt);
result.put("todo", "prompt");
return result;

Execution function:

Copiedresult = Map();
response = Map();
response.put("action", "reply");
response.put("replies",[{
    "text": "Here is the reference image",
    "image": "http://zylker.com/help/common.png"
}]);
result.put("data", response);
return result;

Output: