deleteMessage

public void deleteMessage(ConversationType conversationType, String targetId, String channelId, IBooleanCallback callback)

清空某一会话的所有聊天消息记录。

Return

是否清空成功。

Parameters

conversationType

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

targetId

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

channelId

消息所属会话的业务标识。