appBskyUnspeccedGetSuggestionsSkeleton function

Future<XRPCResponse<UnspeccedGetSuggestionsSkeletonOutput>> appBskyUnspeccedGetSuggestionsSkeleton({
  1. String? viewer,
  2. int? limit,
  3. String? cursor,
  4. String? relativeToDid,
  5. required ServiceContext $ctx,
  6. Map<String, String>? $headers,
  7. Map<String, String>? $unknown,
})

Get a skeleton of suggested actors. Intended to be called and then hydrated through app.bsky.actor.getSuggestions

Implementation

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