SDKsiOSEnterprise
Delete a conversation group
Delete a conversation group with Open_im_sdkDeleteConversationGroup.
Use Open_im_sdkDeleteConversationGroup to delete a specified conversation group and its conversation relationships. This operation does not delete the conversations or their messages.
NSString *groupIDToDelete = conversationGroupID;Pass your callback and groupIDToDelete to Open_im_sdkDeleteConversationGroup. This argument is a conversationGroupID, not an OpenIM chat-group ID.
Result
A successful callback means that the delete request has completed; do not depend on generic placeholder data. You can remove the local group by conversationGroupID immediately, then reconcile through onConversationGroupDeleted: or a subsequent query.
For the complete listener, see Conversation groups overview.
Was this page helpful?