Delete a conversation group
Delete a conversation group and its conversation associations.
Use deleteConversationGroup() to delete a conversation group and its conversation associations. The operation does not delete the conversations or their messages.
await openimsdk.deleteConversationGroup(conversationGroupID);The fixed SDK declaration names the parameter groupID, but it represents a conversationGroupID here. Do not pass an OpenIM chat group ID.
Return result
A successful Promise means that the group deletion request has completed. The method returns no group data for refreshing the UI. Remove the local group by conversationGroupID, then reconcile through an event or query.
The related incremental event is OnConversationGroupDeleted. Remove event groups by conversationGroupID; see Conversation group overview for the complete listener.
Was this page helpful?