appBskyUnspeccedGetTrendsSkeleton function

Future<XRPCResponse<UnspeccedGetTrendsSkeletonOutput>> appBskyUnspeccedGetTrendsSkeleton({
  1. String? viewer,
  2. int? limit,
  3. required ServiceContext $ctx,
  4. Map<String, String>? $headers,
  5. Map<String, String>? $unknown,
})

Get the skeleton of trends on the network. Intended to be called and then hydrated through app.bsky.unspecced.getTrends

Implementation

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