queryLastMessage method

Future<NIMResult<NIMMessage>> queryLastMessage(
  1. String account,
  2. NIMSessionType sessionType
)

查询最近一条消息

Implementation

Future<NIMResult<NIMMessage>> queryLastMessage(
    String account, NIMSessionType sessionType) async {
  return _platform.queryLastMessage(account, sessionType);
}