pullMessageHistory method Null safety
- NIMMessage anchor,
- int limit,
- bool persist
Get history messages from the server, the obtained history messages will not be saved into the local message database.
Implementation
Future<NIMResult<List<NIMMessage>>> pullMessageHistory(
NIMMessage anchor, int limit, bool persist) async {
return _platform.pullMessageHistory(anchor, limit, persist);
}