Browse SDKs · Flutter
SDKsFlutter

Send a message without OSS

Use the Flutter SDK to send a message that already contains a remote resource URL.

Copy
final sent = await OpenIM.iMManager.messageManager.sendMessageNotOss(
  message: urlMessage,
  userID: receiverUserID,
  offlinePushInfo: offlinePushInfo,
);

Use this method only for URL-based media messages so the resource does not enter the SDK upload flow again. One-to-one and group targets are mutually exclusive. Future completion and delivery to a remote listener are separate stages.