appBskyFeedGetPostThread function
Get posts in a thread. Does not require auth, but additional metadata and filtering will be applied for authed requests.
Implementation
Future<XRPCResponse<FeedGetPostThreadOutput>> appBskyFeedGetPostThread({
required AtUri uri,
int? depth,
int? parentHeight,
required ServiceContext $ctx,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await $ctx.get(
ns.appBskyFeedGetPostThread,
headers: $headers,
parameters: {
...?$unknown,
'uri': uri.toString(),
if (depth != null) 'depth': depth,
if (parentHeight != null) 'parentHeight': parentHeight,
},
to: const FeedGetPostThreadOutputConverter().fromJson,
);