Get last asked QA pair

To get the last asked question, and the answer you can use the following utility function:

Txt.getLastQaPair()

This will return a question and answer object containing all the associated metadata for the QA pair.