app.bsky.contact.defs¶
- 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.
- field py_type: Literal['app.bsky.contact.defs#matchAndContactIndex'] = 'app.bsky.contact.defs#matchAndContactIndex'¶
- 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_: str [Required]¶
The DID of who this notification comes from.
- Constraints:
func = Validated by:
string_formats.validate_did()(only when strict_string_format=True)json_schema_input_type = PydanticUndefined
- field py_type: Literal['app.bsky.contact.defs#notification'] = 'app.bsky.contact.defs#notification'¶
- field to: str [Required]¶
The DID of who this notification should go to.
- Constraints:
func = Validated by:
string_formats.validate_did()(only when strict_string_format=True)json_schema_input_type = PydanticUndefined
- 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 py_type: Literal['app.bsky.contact.defs#syncStatus'] = 'app.bsky.contact.defs#syncStatus'¶
- field synced_at: str [Required]¶
Last date when contacts where imported.
- Constraints:
func = Validated by:
string_formats.validate_datetime()(only when strict_string_format=True)json_schema_input_type = PydanticUndefined