Browse SDKs · Flutter
SDKsFlutterEnterprise

Remove conversations from groups

Remove Flutter conversation-group relationships.

Copy

Use removeConversationsFromGroups() to remove conversations from one or more conversation groups. This operation deletes relationships only; it does not delete conversations or clear messages.

await OpenIM.iMManager.conversationGroupManager.removeConversationsFromGroups(
  conversationGroupIDs: [conversationGroupID],
  conversationIDs: [conversationID],
);

Both conversationGroupIDs and conversationIDs are required. They identify the destination groups and the conversations to remove, respectively.

Result

The pinned Flutter declaration returns an unspecified Future. Success means that the relationship-removal request completed; it does not return updated group objects.

The related increment is onConversationGroupMemberDeleted. For complete handling, see Conversation groups overview.