appBskyNotificationListActivitySubscriptions function

Future<XRPCResponse<NotificationListActivitySubscriptionsOutput>> appBskyNotificationListActivitySubscriptions({
  1. int? limit,
  2. String? cursor,
  3. required ServiceContext $ctx,
  4. Map<String, String>? $headers,
  5. Map<String, String>? $unknown,
})

Enumerate all accounts to which the requesting account is subscribed to receive notifications for. Requires auth.

Implementation

Future<XRPCResponse<NotificationListActivitySubscriptionsOutput>>
appBskyNotificationListActivitySubscriptions({
  int? limit,
  String? cursor,
  required ServiceContext $ctx,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.get(
  ns.appBskyNotificationListActivitySubscriptions,
  headers: $headers,
  parameters: {
    ...?$unknown,
    if (limit != null) 'limit': limit,
    if (cursor != null) 'cursor': cursor,
  },
  to: const NotificationListActivitySubscriptionsOutputConverter().fromJson,
);