The chat module stores information in chat_users and _chat_messages_current.
The table chat_users contains a list of users who appear to be active in a chat and is cleaned on a regular basis, whether by cron, or is triggered as part of user requests.
The table chat_messages_current contains a list of recent messages from a chat, it appears to be a temporary cache for fast fetching of latest chat messages. Messages older than 8 hours are purged on a regular basis through cron runs.
In this issue we must decide whether reporting and exporting of such information is needed, and if yes implement it. This follows the work done in