I think there is line limit, not time. The chat window seems to store a limited amount of characters / lines.
Just tested it. Regardless of the length of my text, each text I sent deleted the the one on top. Mine was like 3-4 lines and the one on top just one character. If I did not count wrong, the chat window holds max 100 texts.