appBskyFeedGetLikes function
Get like records which reference a subject (by AT-URI and CID).
Implementation
Future<XRPCResponse<FeedGetLikesOutput>> appBskyFeedGetLikes({
required AtUri uri,
String? cid,
int? limit,
String? cursor,
required ServiceContext $ctx,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await $ctx.get(
ns.appBskyFeedGetLikes,
headers: $headers,
parameters: {
...?$unknown,
'uri': uri.toString(),
if (cid != null) 'cid': cid,
if (limit != null) 'limit': limit,
if (cursor != null) 'cursor': cursor,
},
to: const FeedGetLikesOutputConverter().fromJson,
);