getUnreadCount method

Future<XRPCResponse<NotificationGetUnreadCountOutput>> getUnreadCount({
  1. DateTime? seenAt,
  2. String? $service,
  3. Map<String, String>? $headers,
  4. Map<String, String>? $unknown,
})

Count the number of unread notifications for the requesting account. Requires auth.

Implementation

Future<XRPCResponse<NotificationGetUnreadCountOutput>> getUnreadCount({
  DateTime? seenAt,
  String? $service,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await appBskyNotificationGetUnreadCount(
  seenAt: seenAt,
  $ctx: ctx,
  $service: $service,
  $headers: $headers,
  $unknown: $unknown,
);