listConvos method

Future<XRPCResponse<ListConvosOutput>> listConvos({
  1. int? limit,
  2. String? cursor,
  3. Map<String, String>? $unknown,
  4. Map<String, String>? $headers,
  5. GetClient? $client,
})

Implementation

Future<XRPCResponse<ListConvosOutput>> listConvos({
  int? limit,
  String? cursor,
  Map<String, String>? $unknown,
  Map<String, String>? $headers,
  GetClient? $client,
}) async =>
    await _ctx.get<ListConvosOutput>(
      ns.chatBskyConvoListConvos,
      headers: $headers,
      parameters: {
        if (limit != null) 'limit': limit.toString(),
        if (cursor != null) 'cursor': cursor,
        ...?$unknown,
      },
      to: const ListConvosOutputConverter().fromJson,
      client: $client,
    );