SDKsFlutter
Insert a local group message
Use the Flutter SDK to insert a local message into a group conversation.
final stored = await OpenIM.iMManager.messageManager
.insertGroupMessageToLocalStorage(
groupID: groupID,
senderID: senderUserID,
message: localMessage,
);All three parameters are nullable in the declaration, but an application call must supply complete values. Future completion changes only the current device. It neither sends the message to group members nor triggers a remote listener. Use a sending API when server delivery is required.
Was this page helpful?