Getting initial/previous chat on load/refresh

Is there a way with the API or IRC to get the “initial” chat.

What I mean by that is, whether in offline chat or if you refresh your browser during a live stream, the Twitch chat loads the last hour (or some amount of time) of data or X number of messages and displays them with timestamps.

I didn’t see anything in the API that would lead me to believe this is possible unless I missed something but is there any way of replicating this ability?

There is no API support for this feature.