ClearMessages

public native boolean ClearMessages(int conversationType, String targetId, boolean clearDB, String channelId)

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

Parameters

conversationType

会话类型

targetId

会话 Id

clearDB

是否整理数据库,清理空间。

channelId

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