removeConversation

public void removeConversation(ConversationType conversationType, String tId, String channelId, IBooleanCallback callback)

从会话列表中移除某一会话,但是不删除会话内的消息。

如果此会话中有新的消息,该会话将重新在会话列表中显示,并显示最近的历史消息。

Return

是否移除成功。

Parameters

conversationType

会话类型。

tId

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

channelId

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