searchMessage method

Future<NIMResult<List<NIMMessage>>> searchMessage(
  1. NIMSessionType sessionType,
  2. String sessionId,
  3. MessageSearchOption searchOption
)

单会话检索(新)

Implementation

Future<NIMResult<List<NIMMessage>>> searchMessage(NIMSessionType sessionType,
    String sessionId, MessageSearchOption searchOption) async {
  return _platform.searchMessage(sessionType, sessionId, searchOption);
}