comAtprotoTempRequestPhoneVerification function

Future<XRPCResponse<EmptyData>> comAtprotoTempRequestPhoneVerification({
  1. required String phoneNumber,
  2. required ServiceContext $ctx,
  3. Map<String, String>? $headers,
  4. Map<String, String>? $unknown,
})

Request a verification code to be sent to the supplied phone number

Implementation

Future<XRPCResponse<EmptyData>> comAtprotoTempRequestPhoneVerification({
  required String phoneNumber,
  required ServiceContext $ctx,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.post(
  ns.comAtprotoTempRequestPhoneVerification,
  headers: {'Content-type': 'application/json', ...?$headers},
  body: {...?$unknown, 'phoneNumber': phoneNumber},
);