Browse SDKs · React Native
Platform
SDKsReact NativeEnterprise

Delete a conversation group

Delete a conversation group and clear its associations without deleting conversations using the OpenIM React Native SDK.

Copy

Delete a conversation group and dissolve its conversation associations. This operation only deletes the group category; it does not delete conversations or message histories:

await OpenIMSDK.deleteConversationGroup(conversationGroupID);

Parameters

ParameterTypeRequiredDescription
conversationGroupIDstringYesTarget conversation group ID to delete.

Return value

A resolved Promise confirms that the conversation group was deleted from the server.

Deletion triggers the OnConversationGroupDeleted event. Remove the conversation group entry matching conversationGroupID from local UI lists. For full event listeners, see Conversation groups overview.