searchGroups method

  1. @override
Future<V2TimValueCallback<List<V2TimGroupInfo>>> searchGroups({
  1. required V2TimGroupSearchParam searchParam,
})
override

搜索群资料

web 不支持关键字搜索搜索, 请使用searchGroupByID

Implementation

@override
Future<V2TimValueCallback<List<V2TimGroupInfo>>> searchGroups({
  required V2TimGroupSearchParam searchParam,
}) async {
  return V2TimValueCallback<List<V2TimGroupInfo>>.fromJson(
    formatJson(
      await _channel.invokeMethod(
        "searchGroups",
        buildGroupManagerParam(
          {
            "searchParam": searchParam.toJson(),
          },
        ),
      ),
    ),
  );
}