toolsOzoneQueueAssignModerator function
Assign a user to a queue.
Implementation
Future<XRPCResponse<AssignmentView>> toolsOzoneQueueAssignModerator({
required int queueId,
required String did,
required ServiceContext $ctx,
String? $service,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await $ctx.post(
ns.toolsOzoneQueueAssignModerator,
service: $service,
headers: {'Content-type': 'application/json', ...?$headers},
body: {...?$unknown, 'queueId': queueId, 'did': did},
to: const AssignmentViewConverter().fromJson,
);