getLatestMessages

public void getLatestMessages(ConversationType conversationType, String targetId, String channelId, int count, IProgressResultCallback callback)

获取最新消息记录。

Return

最新消息记录,按照时间顺序从新到旧排列。

Parameters

conversationType

会话类型。

targetId

目标 Id。

channelId

消息所属会话的业务标识

count

要获取的消息数量。