appBskyNotificationGetGroupedNotifications function
Future<XRPCResponse<NotificationGetGroupedNotificationsOutput> >
appBskyNotificationGetGroupedNotifications({})
UNSTABLE - DO NOT USE THIS ENDPOINT WHILE THIS NOTE IS HERE Enumerate notifications for the requesting account, pre-grouped for rendering. Supersedes listNotifications. Requires auth.
Implementation
Future<XRPCResponse<NotificationGetGroupedNotificationsOutput>>
appBskyNotificationGetGroupedNotifications({
NotificationGetGroupedNotificationsFeed? feed,
int? limit,
String? cursor,
required ServiceContext $ctx,
String? $service,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await $ctx.get(
ns.appBskyNotificationGetGroupedNotifications,
service: $service,
headers: $headers,
parameters: {
...?$unknown,
if (feed != null) 'feed': feed.toJson(),
if (limit != null) 'limit': limit,
if (cursor != null) 'cursor': cursor,
},
to: const NotificationGetGroupedNotificationsOutputConverter().fromJson,
);