How to add an attachment
as a message in the chat

In the panel of the direct message, click on the "staple" icon
and select the file from your computer.