onClearedMessage

public abstract void onClearedMessage(ConversationType type, String targetId)

根据会话类型,清空某一会话的所有聊天消息记录,回调此方法。

Parameters

type

会话类型。不支持传入 ConversationType.CHATROOM。

targetId

目标 Id。根据不同的 conversationType,可能是用户 Id、讨论组 Id、群组 Id。


public void onClearedMessage(ConversationIdentifier conversationIdentifier)