Chat attachments and size limit

How to increase the size limit of 5 MB? For how long can these be downloaded? As long as the poster is online? I can’t find the storage folder and I also can’t delete my own uploaded files from the chat. If I upload a file and restart TS, I can still download it.
I couldn’t really find any information on this except for some changelogs five years ago.