How to save files on self hosted cloud server like AWS S3 bucket?

To handle the issue of space management in our SB cloud server, how can we go about integrating a self hosted solution to save all the file uploaded by a user in their chat.

Have been waiting for a response on the above for a week now. Can someone please help with this ?

Hi @Gaurav_Sarma,

My apologies for the delayed response here. If you were wanting to upload files on your own server you would need to implement some logic on your client to upload the file that the user wants to send prior to sending it to Sendbird.

Once you’ve uploaded the file on your own service, you can pass the file url to the file message and we’ll treat it as if it was a normal file message. This way when you recall the message, we’ll return your URL rather than the URL to our own server.

How do I then attach thumbnails to it for files that have thumbnails?

Hi, @Tyler I want to preview the file before and during uploading it to Sendbird. How can I do this?
eg:

  1. URL bob => show image to the conversation.
  2. Call API from aw3
  3. Upload to sendbird
  4. Replace the “URL bob” with “URL Sendbird”.
    I don’t know how I can send messages to conversations. If u have any suggestions pls help me.
    Thanks