getAccountInviteCodes method

Future<XRPCResponse<ServerGetAccountInviteCodesOutput>> getAccountInviteCodes({
  1. bool? includeUsed,
  2. bool? createAvailable,
  3. Map<String, String>? $headers,
  4. Map<String, String>? $unknown,
})

Get all invite codes for the current account. Requires auth.

Implementation

Future<XRPCResponse<ServerGetAccountInviteCodesOutput>>
getAccountInviteCodes({
  bool? includeUsed,
  bool? createAvailable,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await comAtprotoServerGetAccountInviteCodes(
  includeUsed: includeUsed,
  createAvailable: createAvailable,
  $ctx: _ctx,
  $headers: $headers,
  $unknown: $unknown,
);