searchGroupByID method

  1. @override
Future<V2TimValueCallback<V2TimGroupInfo>> searchGroupByID({
  1. required String groupID,
})
override

通过 groupID 搜索群组 注意: 好友工作群不能被搜索 仅 web 支持该搜索方式

Implementation

@override
Future<V2TimValueCallback<V2TimGroupInfo>> searchGroupByID({
  required String groupID,
}) async {
  Map<String, dynamic> param = {"groupID": groupID};
  var resp = V2TimValueCallback<V2TimGroupInfo>.fromJson(
    formatJson(
      await _channel.invokeMethod(
        "searchGroupByID",
        buildGroupManagerParam(
          param,
        ),
      ),
    ),
  );

  log("searchGroupByID", param, resp.toLogString());
  return resp;
}