app.bsky.contact.import_contacts¶

class atproto_client.models.app.bsky.contact.import_contacts.Data¶

Bases: DataModelBase

Input data model for app.bsky.contact.importContacts.

field contacts: List[str] [Required]¶

List of phone numbers in global E.164 format (e.g., ‘+12125550123’). Phone numbers that cannot be normalized into a valid phone number will be discarded. Should not repeat the ‘phone’ input used in app.bsky.contact.verifyPhone.

Constraints:
  • min_length = 1

  • max_length = 1000

field token: str [Required]¶

JWT to authenticate the call. Use the JWT received as a response to the call to app.bsky.contact.verifyPhone.

class atproto_client.models.app.bsky.contact.import_contacts.DataDict¶

Bases: TypedDict

contacts: List[str]¶

List of phone numbers in global E.164 format (e.g., ‘+12125550123’). Phone numbers that cannot be normalized into a valid phone number will be discarded. Should not repeat the ‘phone’ input used in app.bsky.contact.verifyPhone.

token: str¶

JWT to authenticate the call. Use the JWT received as a response to the call to app.bsky.contact.verifyPhone.

class atproto_client.models.app.bsky.contact.import_contacts.Response¶

Bases: ResponseModelBase

Output data model for app.bsky.contact.importContacts.

field matches_and_contact_indexes: List[models.AppBskyContactDefs.MatchAndContactIndex] [Required]¶

The users that matched during import and their indexes on the input contacts, so the client can correlate with its local list.