<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def message_details(self, message_id, statistics=False):
 """Gets the details of this message."""

        response = self._get(
            "/transactional/messages/%s?statistics=%s" % (message_id, statistics))
        return json_to_py(response)