scheduleAction method

Future<XRPCResponse<ScheduledActionResults>> scheduleAction({
  1. required UModerationScheduleActionAction action,
  2. required List<String> subjects,
  3. required String createdBy,
  4. required SchedulingConfig scheduling,
  5. ModTool? modTool,
  6. Map<String, String>? $headers,
  7. Map<String, String>? $unknown,
})

Schedule a moderation action to be executed at a future time

Implementation

Future<XRPCResponse<ScheduledActionResults>> scheduleAction({
  required UModerationScheduleActionAction action,
  required List<String> subjects,
  required String createdBy,
  required SchedulingConfig scheduling,
  ModTool? modTool,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await toolsOzoneModerationScheduleAction(
  action: action,
  subjects: subjects,
  createdBy: createdBy,
  scheduling: scheduling,
  modTool: modTool,
  $ctx: _ctx,
  $headers: $headers,
  $unknown: $unknown,
);