Copied{
"type": "file",
"min": 1,
"max": 5,
"formats": [
"doc",
"txt",
"docx",
"pdf",
"html",
"js",
"css",
"ppt",
"pptx",
"xls",
"xlsx",
"jpg",
"jpeg",
"gif",
"mp3",
"mp4",
"3gp",
"png",
"avi",
"aac",
"3ga",
"amr",
"wav",
"bmp",
"zip",
"rar"
]
}
Copied
result = Map();
response = Map();
response.put("action", "reply");
response.put("replies", ["Please upload any government authorized ID."]);
response.put("input", {
"type": "file",
"min": 1,
"max": 5,
"formats": [
"doc",
"txt",
"docx",
"pdf",
"html",
"js",
"css",
"ppt",
"pptx",
"xls",
"xlsx",
"jpg",
"jpeg",
"gif",
"mp3",
"mp4",
"3gp",
"png",
"avi",
"aac",
"3ga",
"amr",
"wav",
"bmp",
"zip",
"rar"
]
});
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", ["Please upload any government authorized ID."]);
response.put("input", {
"type": "file",
"min": 1,
"max": 5,
"formats": [
"doc",
"txt",
"docx",
"pdf",
"html",
"js",
"css",
"ppt",
"pptx",
"xls",
"xlsx",
"jpg",
"jpeg",
"gif",
"mp3",
"mp4",
"3gp",
"png",
"avi",
"aac",
"3ga",
"amr",
"wav",
"bmp",
"zip",
"rar"
]
});
result.put("data", response);
return result;
Copied{
"type": "file",
"min": 1,
"max": 5,
"formats": [
"doc",
"txt",
"docx",
"pdf",
"html",
"js",
"css",
"ppt",
"pptx",
"xls",
"xlsx",
"jpg",
"jpeg",
"gif",
"mp3",
"mp4",
"3gp",
"png",
"avi",
"aac",
"3ga",
"amr",
"wav",
"bmp",
"zip",
"rar"
]
}
Copied{
"platform": "ZOHOSALESIQ",
"action": "reply",
"replies": [
"Please upload any government authorized ID."
],
"input": {
"type": "file",
"min": 1,
"max": 5,
"formats": [
"doc",
"txt",
"docx",
"pdf",
"html",
"js",
"css",
"ppt",
"pptx",
"xls",
"xlsx",
"jpg",
"jpeg",
"gif",
"mp3",
"mp4",
"3gp",
"png",
"avi",
"aac",
"3ga",
"amr",
"wav",
"bmp",
"zip",
"rar"
]
}
}
Copied"user_defined": {
"zohosalesiq": {
"action": "reply",
"replies": [
"Please upload any government authorized ID."
],
"input": {
"type": "file",
"min": 1,
"max": 5,
"formats": [
"doc",
"txt",
"docx",
"pdf",
"html",
"js",
"css",
"ppt",
"pptx",
"xls",
"xlsx",
"jpg",
"jpeg",
"gif",
"mp3",
"mp4",
"3gp",
"png",
"avi",
"aac",
"3ga",
"amr",
"wav",
"bmp",
"zip",
"rar"
]
}
}
}
Copied"channelData": {
"zohosalesiq": {
"action": "reply",
"replies": [
"Please upload any government authorized ID."
],
"input": {
"type": "file",
"min": 1,
"max": 5,
"formats": [
"doc",
"txt",
"docx",
"pdf",
"html",
"js",
"css",
"ppt",
"pptx",
"xls",
"xlsx",
"jpg",
"jpeg",
"gif",
"mp3",
"mp4",
"3gp",
"png",
"avi",
"aac",
"3ga",
"amr",
"wav",
"bmp",
"zip",
"rar"
]
}
}
}