SDKsFlutter
Create a file message from a URL
Create a file message from an uploaded file element with the OpenIM Flutter SDK.
final message = await OpenIM.iMManager.messageManager
.createFileMessageByURL(fileElem: fileElem);FileElem should contain the actual URL, UUID, file name, and byte size. Send this object with sendMessageNotOss().
Was this page helpful?