There's a matterbridge component to use a dedicated mediaserver to upload files which don't have a URL.
We have helper methods in bridge/helper/helper.go called HandleDownloadData and HandleDownloadData2. It's not documented what's the difference between those two methods. One takes an additional id param, but it's not exactly clear what this NativeId is supposed to be (is it for dedup?).
It's also not documented what happens depending on whether the bridge receiving the attachment populates the Data field (raw bytes), the Url field (remote content) or both.
There's a matterbridge component to use a dedicated mediaserver to upload files which don't have a URL.
We have helper methods in
bridge/helper/helper.gocalledHandleDownloadDataandHandleDownloadData2. It's not documented what's the difference between those two methods. One takes an additionalidparam, but it's not exactly clear what thisNativeIdis supposed to be (is it for dedup?).It's also not documented what happens depending on whether the bridge receiving the attachment populates the
Datafield (raw bytes), theUrlfield (remote content) or both.