Under what circumstances is the customer message history cleared?

After 72 hours of message inactivity, the Guest session expires, and client cannot obtain a valid JWT to access messages via History API. On the client side, however, there is no command or event that can trigger this. Once Guest session expires, the native Messenger generates new a Guest Token, which is used to start a new session.