appBskyNotificationGetUnreadCount function
Count the number of unread notifications for the requesting account. Requires auth.
Implementation
Future<XRPCResponse<NotificationGetUnreadCountOutput>>
appBskyNotificationGetUnreadCount({
DateTime? seenAt,
required ServiceContext $ctx,
String? $service,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await $ctx.get(
ns.appBskyNotificationGetUnreadCount,
service: $service,
headers: $headers,
parameters: {...?$unknown, if (seenAt != null) 'seenAt': iso8601(seenAt)},
to: const NotificationGetUnreadCountOutputConverter().fromJson,
);