appBskyFeedGetTimeline function
Get a view of the requesting account's home timeline. This is expected to be some form of reverse-chronological feed.
Implementation
Future<XRPCResponse<FeedGetTimelineOutput>> appBskyFeedGetTimeline({
String? algorithm,
int? limit,
String? cursor,
required ServiceContext $ctx,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await $ctx.get(
ns.appBskyFeedGetTimeline,
headers: $headers,
parameters: {
...?$unknown,
if (algorithm != null) 'algorithm': algorithm,
if (limit != null) 'limit': limit,
if (cursor != null) 'cursor': cursor,
},
to: const FeedGetTimelineOutputConverter().fromJson,
);