appBskyGraphGetKnownFollowers function

Future<XRPCResponse<GraphGetKnownFollowersOutput>> appBskyGraphGetKnownFollowers({
  1. required String actor,
  2. int? limit,
  3. String? cursor,
  4. required ServiceContext $ctx,
  5. Map<String, String>? $headers,
  6. Map<String, String>? $unknown,
})

Enumerates accounts which follow a specified account (actor) and are followed by the viewer.

Implementation

Future<XRPCResponse<GraphGetKnownFollowersOutput>>
appBskyGraphGetKnownFollowers({
  required String actor,
  int? limit,
  String? cursor,
  required ServiceContext $ctx,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.get(
  ns.appBskyGraphGetKnownFollowers,
  headers: $headers,
  parameters: {
    ...?$unknown,
    'actor': actor,
    if (limit != null) 'limit': limit,
    if (cursor != null) 'cursor': cursor,
  },
  to: const GraphGetKnownFollowersOutputConverter().fromJson,
);