Stack Exchange network consists of 182 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Currently you are unable to upload anything but images in chat, why is this so? Is this because of security or some other reason such as space?
You can upload whatever you like (to wherever will host it) and post the URL.
The "upload" in the Upload button, however, is just shorthand for "Upload an image". That is made abundantly clear when you click it.
This is exactly the same with the main sites.