getAccountInviteCodes method
Get all invite codes for the current account. Requires auth.
https://atprotodart.com/docs/lexicons/com/atproto/server/getAccountInviteCodes
Implementation
Future<XRPCResponse<GetAccountInviteCodesOutput>> getAccountInviteCodes({
bool? includeUsed,
bool? createAvailable,
Map<String, String>? $unknown,
Map<String, String>? $headers,
GetClient? $client,
}) async =>
await _ctx.get<GetAccountInviteCodesOutput>(
ns.comAtprotoServerGetAccountInviteCodes,
headers: $headers,
parameters: {
if (includeUsed != null) 'includeUsed': includeUsed.toString(),
if (createAvailable != null)
'createAvailable': createAvailable.toString(),
...?$unknown,
},
to: const GetAccountInviteCodesOutputConverter().fromJson,
client: $client,
);