Skip to main content

Delete a conversation tag. Conversation tags apply only to the current user, and the SDK automatically synchronizes them to the user devices. When a tag is deleted, its conversations are removed from the tag automatically.

Parameters

NameTypeRequiredDefaultDescriptionVersion
tagIdStringYesTag ID. Developers can customize it; the maximum length is 64 characters.1.8.47

Code Example

JIM.getInstance().getConversationManager().destroyConversationTag("customTagId", new IConversationManager.ISimpleCallback() {
@Override
public void onSuccess() {

}

@Override
public void onError(int errorCode) {

}
});