chat.bsky.actor.declaration¶

class atproto_client.models.chat.bsky.actor.declaration.CreateRecordResponse¶

Bases: SugarResponseModelBase

Create record response for models.ChatBskyActorDeclaration.Record.

field cid: str [Required]¶

The CID of the record.

field uri: str [Required]¶

The URI of the record.

class atproto_client.models.chat.bsky.actor.declaration.GetRecordResponse¶

Bases: SugarResponseModelBase

Get record response for models.ChatBskyActorDeclaration.Record.

field cid: str | None = None¶

The CID of the record.

field uri: str [Required]¶

The URI of the record.

field value: models.ChatBskyActorDeclaration.Record [Required]¶

The record.

class atproto_client.models.chat.bsky.actor.declaration.ListRecordsResponse¶

Bases: SugarResponseModelBase

List records response for models.ChatBskyActorDeclaration.Record.

field cursor: str | None = None¶

Next page cursor.

field records: Dict[str, models.ChatBskyActorDeclaration.Record] [Required]¶

Map of URIs to records.

class atproto_client.models.chat.bsky.actor.declaration.Record¶

Bases: RecordModelBase

Record model for chat.bsky.actor.declaration.

field allow_group_invites: Literal['all'] | Literal['none'] | Literal['following'] | str | None = None¶
field allow_incoming: Literal['all'] | Literal['none'] | Literal['following'] | str [Required]¶

Allow incoming.

field py_type: Literal['chat.bsky.actor.declaration'] = 'chat.bsky.actor.declaration'¶