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