getNotificationPreferences method

Future<XRPCResponse<InboxGetNotificationPreferencesOutput>> getNotificationPreferences({
  1. String? did,
  2. String? $service,
  3. Map<String, String>? $headers,
  4. Map<String, String>? $unknown,
})

Get moderation push notification preferences for report outcomes, account actions, and labeling. Returns all three categories, defaulting to enabled for an account without saved preferences.

Implementation

Future<XRPCResponse<InboxGetNotificationPreferencesOutput>>
getNotificationPreferences({
  String? did,
  String? $service,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await toolsOzoneInboxGetNotificationPreferences(
  did: did,
  $ctx: ctx,
  $service: $service,
  $headers: $headers,
  $unknown: $unknown,
);