getUserFollowInfo method

  1. @override
Future<V2TimValueCallback<List<V2TimFollowInfo>>> getUserFollowInfo({
  1. required List<String> userIDList,
})
override

获取指定用户的 关注/粉丝/互关 数量信息

Implementation

@override
Future<V2TimValueCallback<List<V2TimFollowInfo>>> getUserFollowInfo({
  required List<String> userIDList,
}) async {
  return V2TimValueCallback<List<V2TimFollowInfo>>.fromJson(
    formatJson(
      await _channel.invokeMethod(
        "getUserFollowInfo",
        buildFriendManagerParam(
          {
            "userIDList": userIDList,
            "ability": Utils.getAbility(),
          },
        ),
      ),
    ),
  );
}