chatBskyConvoListConvos function

Future<XRPCResponse<ConvoListConvosOutput>> chatBskyConvoListConvos({
  1. int? limit,
  2. String? cursor,
  3. ConvoListConvosReadState? readState,
  4. ConvoListConvosStatus? status,
  5. required ServiceContext $ctx,
  6. Map<String, String>? $headers,
  7. Map<String, String>? $unknown,
})

Implementation

Future<XRPCResponse<ConvoListConvosOutput>> chatBskyConvoListConvos({
  int? limit,
  String? cursor,
  ConvoListConvosReadState? readState,
  ConvoListConvosStatus? status,
  required ServiceContext $ctx,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.get(
  ns.chatBskyConvoListConvos,
  headers: $headers,
  parameters: {
    ...?$unknown,
    if (limit != null) 'limit': limit,
    if (cursor != null) 'cursor': cursor,
    if (readState != null) 'readState': readState.toJson(),
    if (status != null) 'status': status.toJson(),
  },
  to: const ConvoListConvosOutputConverter().fromJson,
);