SDKsReact NativeEnterprise
Remove conversations from groups
Remove one or more conversations from conversation groups.
Call removeConversationsFromGroups() to remove one or more conversations from the specified groups.
await OpenIMSDK.removeConversationsFromGroups({
conversationIDs: [conversationID],
conversationGroupIDs: [conversationGroupID],
});Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
conversationIDs | string[] | Yes | Conversation IDs to remove. |
conversationGroupIDs | string[] | Yes | Target conversation-group IDs. |
Return result
After the call completes, the membership-removal request is complete. Membership changes are delivered through OnConversationGroupMemberDeleted; the callback includes the group and conversation IDs. See Conversation group overview.
Was this page helpful?