pullMessageHistory method

Future<NIMResult<List<NIMMessage>>> pullMessageHistory(
  1. NIMMessage anchor,
  2. int limit,
  3. bool persist
)

从服务器拉取消息历史记录,结果不存本地消息数据库。

Implementation

Future<NIMResult<List<NIMMessage>>> pullMessageHistory(
    NIMMessage anchor, int limit, bool persist) async {
  return _platform.pullMessageHistory(anchor, limit, persist);
}