SDKsFlutterEnterprise
Add conversations to groups
Add Flutter conversations to conversation groups.
Use addConversationsToGroups() to add one or more conversations to one or more conversation groups. This operation adds relationships only; it does not create conversations or change message destinations.
await OpenIM.iMManager.conversationGroupManager.addConversationsToGroups(
conversationGroupIDs: [conversationGroupID],
conversationIDs: [conversationID],
);Both conversationGroupIDs and conversationIDs are required. They identify the destination groups and the conversations to add, respectively.
Result
The pinned Flutter declaration returns an unspecified Future. Success means that the relationship request completed; it does not mean the listener has arrived on every client.
The related increment is onConversationGroupMemberAdded. For complete handling, see Conversation groups overview.
Was this page helpful?