getGroupOnlineMemberCount method

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

获取指定群属性,keys 传 null 则获取所有群属性。

Implementation

@override
Future<V2TimValueCallback<int>> getGroupOnlineMemberCount({
  required String groupID,
}) async {
  return V2TimValueCallback<int>.fromJson(
    formatJson(
      await _channel.invokeMethod(
        "getGroupOnlineMemberCount",
        buildGroupManagerParam(
          {
            "groupID": groupID,
          },
        ),
      ),
    ),
  );
}