app.bsky.feed.threadgate

class atproto_client.models.app.bsky.feed.threadgate.CreateRecordResponse

Bases: SugarResponseModelBase

Create record response for models.AppBskyFeedThreadgate.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.feed.threadgate.FollowingRule

Bases: ModelBase

Definition model for app.bsky.feed.threadgate. Allow replies from actors you follow.

field py_type: Literal['app.bsky.feed.threadgate#followingRule'] = 'app.bsky.feed.threadgate#followingRule'
class atproto_client.models.app.bsky.feed.threadgate.GetRecordResponse

Bases: SugarResponseModelBase

Get record response for models.AppBskyFeedThreadgate.Record.

field cid: str | None = None

The CID of the record.

field uri: str [Required]

The URI of the record.

field value: models.AppBskyFeedThreadgate.Record [Required]

The record.

class atproto_client.models.app.bsky.feed.threadgate.ListRecordsResponse

Bases: SugarResponseModelBase

List records response for models.AppBskyFeedThreadgate.Record.

field cursor: str | None = None

Next page cursor.

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

Map of URIs to records.

class atproto_client.models.app.bsky.feed.threadgate.ListRule

Bases: ModelBase

Definition model for app.bsky.feed.threadgate. Allow replies from actors on a list.

field list: str [Required]

List.

Constraints:
  • func = <function only_validate_if_strict.<locals>.wrapper at 0x7f7d65a12700>

  • json_schema_input_type = PydanticUndefined

field py_type: Literal['app.bsky.feed.threadgate#listRule'] = 'app.bsky.feed.threadgate#listRule'
class atproto_client.models.app.bsky.feed.threadgate.MentionRule

Bases: ModelBase

Definition model for app.bsky.feed.threadgate. Allow replies from actors mentioned in your post.

field py_type: Literal['app.bsky.feed.threadgate#mentionRule'] = 'app.bsky.feed.threadgate#mentionRule'
class atproto_client.models.app.bsky.feed.threadgate.Record

Bases: RecordModelBase

Record model for app.bsky.feed.threadgate.

field allow: List[MentionRule | models.AppBskyFeedThreadgate.FollowingRule | models.AppBskyFeedThreadgate.ListRule[models.AppBskyFeedThreadgate.MentionRule | models.AppBskyFeedThreadgate.FollowingRule | models.AppBskyFeedThreadgate.ListRule]] | None = None
Constraints:
  • max_length = 5

field created_at: str [Required]

Created at.

Constraints:
  • func = <function only_validate_if_strict.<locals>.wrapper at 0x7f7d65a12820>

  • json_schema_input_type = PydanticUndefined

field hidden_replies: List[str[str]] | None = None

List of hidden reply URIs.

Constraints:
  • max_length = 50

field post: str [Required]

Reference (AT-URI) to the post record.

Constraints:
  • func = <function only_validate_if_strict.<locals>.wrapper at 0x7f7d65a12700>

  • json_schema_input_type = PydanticUndefined

field py_type: Literal['app.bsky.feed.threadgate'] = 'app.bsky.feed.threadgate'