Open
Description
Something I've seen come up a few times, especially in the context of the ticketing services is the ability to see the entire log of the back and forth between a contact and RapidPro to help create some context for whoever is looking at the ticket.
There isn't any easy way to do this currently. Perhaps it would be interesting to add a "virtual" context element that represents the messages send and received in a session?
Without much thought maybe:
@msgs -> [{
"uuid": "arst..",
"text": "Welcome to ..,what is your name?",
"created_on": "...",
"direction": "out",
"channel": {...},
},{
"uuid": "arst..",
"text": "Fred",
"created_on": "..",
"direction": "in",
"channel": {..},
}]
This would then let people use @msgs
in a template to list all the messages back and forth. We should put some thought into the structure to make sure the few functional tools we have would be useful in filtering and displaying these in flexible formats.