chatBskyGroupCreateJoinLink function
NOTE: This is under active development and should be considered unstable while this note is here. Creates a join link for the group convo.
Implementation
Future<XRPCResponse<GroupCreateJoinLinkOutput>> chatBskyGroupCreateJoinLink({
required String convoId,
bool? requireApproval,
required JoinRule joinRule,
required ServiceContext $ctx,
String? $service,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await $ctx.post(
ns.chatBskyGroupCreateJoinLink,
service: $service,
headers: {'Content-type': 'application/json', ...?$headers},
body: {
...?$unknown,
'convoId': convoId,
if (requireApproval != null) 'requireApproval': requireApproval,
'joinRule': joinRule.toJson(),
},
to: const GroupCreateJoinLinkOutputConverter().fromJson,
);