app.bsky.notification.declaration¶
- class atproto_client.models.app.bsky.notification.declaration.CreateRecordResponse¶
Bases:
SugarResponseModelBaseCreate record response for
models.AppBskyNotificationDeclaration.Record.- field cid: str [Required]¶
The CID of the record.
- field uri: str [Required]¶
The URI of the record.
- class atproto_client.models.app.bsky.notification.declaration.GetRecordResponse¶
Bases:
SugarResponseModelBaseGet record response for
models.AppBskyNotificationDeclaration.Record.- field cid: str | None = None¶
The CID of the record.
- field uri: str [Required]¶
The URI of the record.
- field value: models.AppBskyNotificationDeclaration.Record [Required]¶
The record.
- class atproto_client.models.app.bsky.notification.declaration.ListRecordsResponse¶
Bases:
SugarResponseModelBaseList records response for
models.AppBskyNotificationDeclaration.Record.- field cursor: str | None = None¶
Next page cursor.
- field records: Dict[str, models.AppBskyNotificationDeclaration.Record] [Required]¶
Map of URIs to records.
- class atproto_client.models.app.bsky.notification.declaration.Record¶
Bases:
RecordModelBaseRecord model for
app.bsky.notification.declaration.- field allow_subscriptions: Literal['followers'] | Literal['mutuals'] | Literal['none'] | str [Required]¶
A declaration of the user’s preference for allowing activity subscriptions from other users. Absence of a record implies ‘followers’.
- field py_type: Literal['app.bsky.notification.declaration'] = 'app.bsky.notification.declaration'¶