Browse SDKs · Flutter
SDKsFlutter

Create a video message from URLs

Create a video message from an uploaded video element with the OpenIM Flutter SDK.

Copy
final message = await OpenIM.iMManager.messageManager
    .createVideoMessageByURL(videoElem: videoElem);

VideoElem should contain the actual video and snapshot URLs, UUIDs, sizes, type, duration, and dimensions. Send this object with sendMessageNotOss().