chatBskyModerationGetConvos function

Future<XRPCResponse<ModerationGetConvosOutput>> chatBskyModerationGetConvos({
  1. required List<String> convoIds,
  2. required ServiceContext $ctx,
  3. String? $service,
  4. Map<String, String>? $headers,
  5. Map<String, String>? $unknown,
})

Gets existing conversations by their IDs, for moderation purposes. Does not require the requester to be a member of the conversations. Unknown IDs are silently omitted from the response.

Implementation

Future<XRPCResponse<ModerationGetConvosOutput>> chatBskyModerationGetConvos({
  required List<String> convoIds,
  required ServiceContext $ctx,
  String? $service,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.get(
  ns.chatBskyModerationGetConvos,
  service: $service,
  headers: $headers,
  parameters: {...?$unknown, 'convoIds': convoIds},
  to: const ModerationGetConvosOutputConverter().fromJson,
);