Your chat history is saved on your device within the app. You can keep your chat history (include video, voice messages, images, text messages, etc.) indefinitely provided that the phone has sufficient storage space.
This also means that when you delete the app, you will delete all of your chat history with it. When deleting an app or switching to a new device, be sure to back up or migrate your chat history .