verifyPhone method

Future<XRPCResponse<ContactVerifyPhoneOutput>> verifyPhone({
  1. required String phone,
  2. required String code,
  3. String? $service,
  4. Map<String, String>? $headers,
  5. Map<String, String>? $unknown,
})

Verifies control over a phone number with a code received via SMS and starts a contact import session. Requires authentication.

Implementation

Future<XRPCResponse<ContactVerifyPhoneOutput>> verifyPhone({
  required String phone,
  required String code,
  String? $service,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await appBskyContactVerifyPhone(
  phone: phone,
  code: code,
  $ctx: ctx,
  $service: $service,
  $headers: $headers,
  $unknown: $unknown,
);