chatBskyGroupRemoveMembers function

Future<XRPCResponse<GroupRemoveMembersOutput>> chatBskyGroupRemoveMembers({
  1. required String convoId,
  2. required List<String> members,
  3. required ServiceContext $ctx,
  4. String? $service,
  5. Map<String, String>? $headers,
  6. Map<String, String>? $unknown,
})

NOTE: This is under active development and should be considered unstable while this note is here. Removes members from a group. This deletes convo memberships, doesn't just set a status.

Implementation

Future<XRPCResponse<GroupRemoveMembersOutput>> chatBskyGroupRemoveMembers({
  required String convoId,
  required List<String> members,
  required ServiceContext $ctx,
  String? $service,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.post(
  ns.chatBskyGroupRemoveMembers,
  service: $service,
  headers: {'Content-type': 'application/json', ...?$headers},
  body: {...?$unknown, 'convoId': convoId, 'members': members},
  to: const GroupRemoveMembersOutputConverter().fromJson,
);