SDKsFlutter
Create an image message from a local path
Create an image message from an absolute path with the OpenIM Flutter SDK.
final message = await OpenIM.iMManager.messageManager
.createImageMessageFromFullPath(imagePath: absolutePath);The absolute path must be readable. The Future creates an object waiting to be sent; the regular send flow uploads it.
Was this page helpful?