getPosts method

Future<XRPCResponse<FeedGetPostsOutput>> getPosts({
  1. required List<AtUri> uris,
  2. String? $service,
  3. Map<String, String>? $headers,
  4. Map<String, String>? $unknown,
})

Gets post views for a specified list of posts (by AT-URI). This is sometimes referred to as 'hydrating' a 'feed skeleton'.

Implementation

Future<XRPCResponse<FeedGetPostsOutput>> getPosts({
  required List<AtUri> uris,
  String? $service,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await appBskyFeedGetPosts(
  uris: uris,
  $ctx: ctx,
  $service: $service,
  $headers: $headers,
  $unknown: $unknown,
);