appBskyNotificationListNotifications function
Enumerate notifications for the requesting account. Requires auth.
Implementation
Future<XRPCResponse<NotificationListNotificationsOutput>>
appBskyNotificationListNotifications({
List<String>? reasons,
int? limit,
bool? priority,
String? cursor,
DateTime? seenAt,
required ServiceContext $ctx,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await $ctx.get(
ns.appBskyNotificationListNotifications,
headers: $headers,
parameters: {
...?$unknown,
if (reasons != null) 'reasons': reasons,
if (limit != null) 'limit': limit,
if (priority != null) 'priority': priority,
if (cursor != null) 'cursor': cursor,
if (seenAt != null) 'seenAt': iso8601(seenAt),
},
to: const NotificationListNotificationsOutputConverter().fromJson,
);