chatBskyModerationGetConvo function

Future<XRPCResponse<ModerationGetConvoOutput>> chatBskyModerationGetConvo({
  1. required String convoId,
  2. required ServiceContext $ctx,
  3. String? $service,
  4. Map<String, String>? $headers,
  5. Map<String, String>? $unknown,
})

Gets an existing conversation by its ID, for moderation purposes. Does not require the requester to be a member of the conversation.

Implementation

Future<XRPCResponse<ModerationGetConvoOutput>> chatBskyModerationGetConvo({
  required String convoId,
  required ServiceContext $ctx,
  String? $service,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.get(
  ns.chatBskyModerationGetConvo,
  service: $service,
  headers: $headers,
  parameters: {...?$unknown, 'convoId': convoId},
  to: const ModerationGetConvoOutputConverter().fromJson,
);