We are looking to see how we can check if the customer is actively involved in a messaging session or get the last message timestamp, so that we can make sure the web page does not timeout while the customer is in conversation with the agent.
The concept of "active session" can be interpreted in several ways, but in general you can subscribe to GC Messenger events on either Auth plugin or MessagingService plugin to infer an "active session" criteria, eventually based on last available timestamp.