SDKsFlutter
Create an audio message from a URL
Create an audio message from an uploaded audio element with the OpenIM Flutter SDK.
final message = await OpenIM.iMManager.messageManager
.createSoundMessageByURL(soundElem: soundElem);SoundElem should contain the actual URL, UUID, byte size, and duration in seconds. Send this object with sendMessageNotOss().
Was this page helpful?