How to Download a File? (Browser Download)


I’m wondering if, when downloading a file, instead of showing the file in the browser, we could download it through the browser (saving the file to our computer).

How can I do that?

You can embed the file ID path with your download button.


Then, utilize the SDK to query the fileID.

I wasnt able to download the image to my computer because I was trying to download an “image” message type, and then, I discovered that we can only save the file to our computer if the message type is “file”.

I suggest that Amity team explain/detail about this in the docs, I think it would help a lot of people with the same doubt I had.

1 Like

Thank you for your feedback. We greatly appreciate your input and will be sure to relay it to the team.

1 Like