getPosts method

Future<XRPCResponse<FeedGetPostsOutput>> getPosts({
  1. required List<AtUri> uris,
  2. Map<String, String>? $headers,
  3. 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,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await appBskyFeedGetPosts(
  uris: uris,
  $ctx: _ctx,
  $headers: $headers,
  $unknown: $unknown,
);