clear Messages
public abstract void clearMessages(ConversationType conversationType, String targetId, String channelId, IRongCoreCallback.ResultCallback<Boolean> callback)
删除某个会话中的所有消息。
注意:不支持聊天室!
Since
5.1.1
Parameters
conversation Type
会话类型,不支持聊天室。参考 Conversation.ConversationType 。
target Id
会话 id。根据不同的 conversationType,可能是用户 id、讨论组 id、群组 id。
channel Id
消息所属会话的业务标识。
callback
清空是否成功的回调。