appBskyNotificationGetPreferences function

Future<XRPCResponse<NotificationGetPreferencesOutput>> appBskyNotificationGetPreferences({
  1. required ServiceContext $ctx,
  2. Map<String, String>? $headers,
  3. Map<String, String>? $unknown,
})

Get notification-related preferences for an account. Requires auth.

Implementation

Future<XRPCResponse<NotificationGetPreferencesOutput>>
appBskyNotificationGetPreferences({
  required ServiceContext $ctx,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.get(
  ns.appBskyNotificationGetPreferences,
  headers: $headers,
  parameters: {...?$unknown},
  to: const NotificationGetPreferencesOutputConverter().fromJson,
);