Actually, I dont want to do an API call to get ALL messages from the channel, and then sort them to keep only the files. It would be too long.
I just want to get a list of them (eg : message ID, name and weight for every attachment) like if I do a research "in:Channel contains:File" on discord as a user.
Even if i only get an amount of messages with attachment(s) instead of an amount of attachments, it doesn't really matter, but i want to get this information in a short time.

