chatBskyGroupRequestJoin function

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

NOTE: This is under active development and should be considered unstable while this note is here. Sends a request to join a group (via join link) to the group owner. Action taken by the prospective group member.

Implementation

Future<XRPCResponse<GroupRequestJoinOutput>> chatBskyGroupRequestJoin({
  required String code,
  required ServiceContext $ctx,
  String? $service,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.post(
  ns.chatBskyGroupRequestJoin,
  service: $service,
  headers: {'Content-type': 'application/json', ...?$headers},
  body: {...?$unknown, 'code': code},
  to: const GroupRequestJoinOutputConverter().fromJson,
);