Delete files used in chat

I’m using too much file storage because I have so many files in chat.
I want to delete only the files without deleting the chat messages.
How do I delete only the files?

Hi @itsbeomy ,

There are a couple of ways to reduce file storage:

  1. Message Retention -

Specifies the length of time in hours that the messages are retained. The maximum message retention period is six months or 4,380 hours. You can reduce this value for your application by contacting our sales team. Sendbird will auto-delete retained messages (including File and Text messages) after this period.

  1. Using Platform API:

I don’t think you understood what I was saying.
I don’t want to delete the message itself, I just want to delete the file I sent in the file message.
I see the file message in the chat window, but selecting it doesn’t allow me to download it.
Is this method not supported?