Depends on if you have preserve onedrive option turned on. If you do then nothing happens to them for that many days. If you don’t then it’s the standard off boarding or onedrive. 30 days post deletion.
However. Never rely on group chats as file storage. It should only be temporary storage if you need storage to stay for a group then you should have a Team and utilize the files tab in a Team.