No. When you close a chat, no messages or attachments are deleted. To remove content, you must first delete the chat.