comAtprotoTempAddReservedHandle function

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

Add a handle to the set of reserved handles.

Implementation

Future<XRPCResponse<EmptyData>> comAtprotoTempAddReservedHandle({
  required String handle,
  required ServiceContext $ctx,
  String? $service,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.post(
  ns.comAtprotoTempAddReservedHandle,
  service: $service,
  headers: {'Content-type': 'application/json', ...?$headers},
  body: {...?$unknown, 'handle': handle},
);