markGroupMessageAsRead method

  1. @override
Future<V2TimCallback> markGroupMessageAsRead({
  1. required String groupID,
})
override

设置群组消息已读

Implementation

@override
Future<V2TimCallback> markGroupMessageAsRead({
  required String groupID,
}) async {
  Map<String, dynamic> param = {
    "groupID": groupID,
  };
  var resp = V2TimCallback.fromJson(
    formatJson(
      await _channel.invokeMethod(
        "markGroupMessageAsRead",
        buildMessageMangerParam(
          param,
        ),
      ),
    ),
  );
  log("markGroupMessageAsRead", param, resp.toLogString());
  return resp;
}