app.bsky.contact.defs
Shared type definitions.
- class atproto_client.models.app.bsky.contact.defs.MatchAndContactIndex
Bases:
ModelBaseDefinition model for
app.bsky.contact.defs. Associates a profile with the positional index of the contact import input in the call to app.bsky.contact.importContacts, so clients can know which phone caused a particular match.- field contact_index: int [Required]
The index of this match in the import contact input.
- Constraints:
ge = 0
le = 999
- field match: models.AppBskyActorDefs.ProfileView [Required]
Profile of the matched user.
- class atproto_client.models.app.bsky.contact.defs.SyncStatus
Bases:
ModelBaseDefinition model for
app.bsky.contact.defs.- field matches_count: int [Required]
Number of existing contact matches resulting of the user imports and of their imported contacts having imported the user. Matches stop being counted when the user either follows the matched contact or dismisses the match.
- Constraints:
ge = 0
- field synced_at: DateTime [Required]
Last date when contacts where imported.
- class atproto_client.models.app.bsky.contact.defs.Notification
Bases:
ModelBaseDefinition model for
app.bsky.contact.defs. A stash object to be sent via bsync representing a notification to be created.- field from_: Did [Required]
The DID of who this notification comes from.
- field to: Did [Required]
The DID of who this notification should go to.