importContacts method

Future<XRPCResponse<ContactImportContactsOutput>> importContacts({
  1. required String token,
  2. required List<String> contacts,
  3. String? $service,
  4. Map<String, String>? $headers,
  5. Map<String, String>? $unknown,
})

Import contacts for securely matching with other users. This follows the protocol explained in https://docs.bsky.app/blog/contact-import-rfc. Requires authentication.

Implementation

Future<XRPCResponse<ContactImportContactsOutput>> importContacts({
  required String token,
  required List<String> contacts,
  String? $service,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await appBskyContactImportContacts(
  token: token,
  contacts: contacts,
  $ctx: ctx,
  $service: $service,
  $headers: $headers,
  $unknown: $unknown,
);