my case is i need to specify my chat is from me or from response to make left and right chat . and my response chat also have 3 type of chat like text , image , and carousel. the problem is my response don't have sender / receiver to specify where is our chat , and where is chat response .
resolvequery is our send chat to api
i have make 2 custom cell for specifying my send chat and my response chat
this is my response
{
"resolvequery": "text",
"statuscode": 200,
"timestamp": {
"date": "2019-02-06 10:50:26.785700",
"timezone_type": 3,
"timezone": "UTC"
},
"result": {
"output": [
{
"type": "text",
"text": "Ini respons berbentuk teks",
"speech": "Ini respons berbentuk teks"
},
{
"type": "text",
"text": "Ini adalah teks yang dipakai sebagai dummy response untuk message type text",
"speech": "Ini adalah teks yang dipakai sebagai dummy response untuk message type text"
}
]
}
}