comAtprotoTempFetchLabels function

Future<XRPCResponse<TempFetchLabelsOutput>> comAtprotoTempFetchLabels({
  1. int? since,
  2. int? limit,
  3. required ServiceContext $ctx,
  4. Map<String, String>? $headers,
  5. Map<String, String>? $unknown,
})

DEPRECATED: use queryLabels or subscribeLabels instead -- Fetch all labels from a labeler created after a certain date.

Implementation

Future<XRPCResponse<TempFetchLabelsOutput>> comAtprotoTempFetchLabels({
  int? since,
  int? limit,
  required ServiceContext $ctx,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.get(
  ns.comAtprotoTempFetchLabels,
  headers: $headers,
  parameters: {
    ...?$unknown,
    if (since != null) 'since': since,
    if (limit != null) 'limit': limit,
  },
  to: const TempFetchLabelsOutputConverter().fromJson,
);