chatBskyNotificationGetPreferences function

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

Get the requesting account's chat notification preferences. Defaults are returned for accounts that have not set any preferences. Requires auth.

Implementation

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