appBskyContactVerifyPhone function
Verifies control over a phone number with a code received via SMS and starts a contact import session. Requires authentication.
Implementation
Future<XRPCResponse<ContactVerifyPhoneOutput>> appBskyContactVerifyPhone({
required String phone,
required String code,
required ServiceContext $ctx,
String? $service,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await $ctx.post(
ns.appBskyContactVerifyPhone,
service: $service,
headers: {'Content-type': 'application/json', ...?$headers},
body: {...?$unknown, 'phone': phone, 'code': code},
to: const ContactVerifyPhoneOutputConverter().fromJson,
);