putNotificationPreferences method

Future<XRPCResponse<InboxPutNotificationPreferencesOutput>> putNotificationPreferences({
  1. bool? reports,
  2. bool? account,
  3. bool? labels,
  4. String? $service,
  5. Map<String, String>? $headers,
  6. Map<String, String>? $unknown,
})

Update the authenticated account's moderation push notification preferences. Only provided categories are updated; omitted categories retain their values. At least one category must be provided. Returns all three preferences. These preferences do not hide in-app inbox activity.

Implementation

Future<XRPCResponse<InboxPutNotificationPreferencesOutput>>
putNotificationPreferences({
  bool? reports,
  bool? account,
  bool? labels,
  String? $service,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await toolsOzoneInboxPutNotificationPreferences(
  reports: reports,
  account: account,
  labels: labels,
  $ctx: ctx,
  $service: $service,
  $headers: $headers,
  $unknown: $unknown,
);