clearMessagesUnreadStatus static method

Future<bool?> clearMessagesUnreadStatus(
  1. int conversationType,
  2. String targetId
)

清除会话的未读消息

conversationType 会话类型,参见枚举 RCConversationType

targetId 会话 id

Implementation

static Future<bool?> clearMessagesUnreadStatus(int conversationType, String targetId) async {
  Map map = {'conversationType': conversationType, 'targetId': targetId};
  bool? rc = await _channel.invokeMethod(RCMethodKey.ClearMessagesUnreadStatus, map);
  return rc;
}