comAtprotoMemberspaceListMembers function

Future<XRPCResponse<MemberspaceListMembersOutput>> comAtprotoMemberspaceListMembers({
  1. required String space,
  2. int? limit,
  3. String? cursor,
  4. required ServiceContext $ctx,
  5. String? $service,
  6. Map<String, String>? $headers,
  7. Map<String, String>? $unknown,
})

List the members of a space with a memberspace policy. Requires auth as the space authority, implemented by PDS.

Implementation

Future<XRPCResponse<MemberspaceListMembersOutput>>
comAtprotoMemberspaceListMembers({
  required String space,
  int? limit,
  String? cursor,
  required ServiceContext $ctx,
  String? $service,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.get(
  ns.comAtprotoMemberspaceListMembers,
  service: $service,
  headers: $headers,
  parameters: {
    ...?$unknown,
    'space': space,
    if (limit != null) 'limit': limit,
    if (cursor != null) 'cursor': cursor,
  },
  to: const MemberspaceListMembersOutputConverter().fromJson,
);