appBskyUnspeccedGetTrendingTopics function
Get a list of trending topics
Implementation
Future<XRPCResponse<UnspeccedGetTrendingTopicsOutput>>
appBskyUnspeccedGetTrendingTopics({
String? viewer,
int? limit,
required ServiceContext $ctx,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await $ctx.get(
ns.appBskyUnspeccedGetTrendingTopics,
headers: $headers,
parameters: {
...?$unknown,
if (viewer != null) 'viewer': viewer,
if (limit != null) 'limit': limit,
},
to: const UnspeccedGetTrendingTopicsOutputConverter().fromJson,
);