chat.bsky.moderation.defs

class atproto_client.models.chat.bsky.moderation.defs.ConvoView

Bases: ModelBase

Definition model for chat.bsky.moderation.defs. [NOTE: This is under active development and should be considered unstable while this note is here]. A view of a conversation for moderation purposes. Unlike chat.bsky.convo.defs#convoView, it does not include viewer-specific data (such as muted, unreadCount, status, lastMessage, lastReaction), since the requester is a moderator and not a member of the conversation. The member list is not included; use chat.bsky.moderation.getConvoMembers to list members.

field id: str [Required]

Id.

field kind: models.ChatBskyModerationDefs.DirectConvo | models.ChatBskyModerationDefs.GroupConvo | None = None
field py_type: Literal['chat.bsky.moderation.defs#convoView'] = 'chat.bsky.moderation.defs#convoView'
field rev: str [Required]

Rev.

class atproto_client.models.chat.bsky.moderation.defs.DirectConvo

Bases: ModelBase

Definition model for chat.bsky.moderation.defs. [NOTE: This is under active development and should be considered unstable while this note is here]. Data specific to a direct conversation, for moderation purposes.

field py_type: Literal['chat.bsky.moderation.defs#directConvo'] = 'chat.bsky.moderation.defs#directConvo'
class atproto_client.models.chat.bsky.moderation.defs.GroupConvo

Bases: ModelBase

Definition model for chat.bsky.moderation.defs. [NOTE: This is under active development and should be considered unstable while this note is here]. Data specific to a group conversation, for moderation purposes. Unlike chat.bsky.convo.defs#groupConvo, it does not include viewer-specific data (such as unreadJoinRequestCount), since the requester is a moderator and not a member of the conversation.

field created_at: str [Required]

Created at.

Constraints:

Join link.

field join_request_count: int [Required]

The total number of pending join requests for the group conversation. This information is only visible to the owner and to moderators. Capped at 21.

field lock_status: models.ChatBskyConvoDefs.ConvoLockStatus [Required]

The lock status of the conversation.

field member_count: int [Required]

The total number of members in the group conversation.

field member_limit: int [Required]

The maximum number of members allowed in the group conversation.

field name: str [Required]

The display name of the group conversation.

Constraints:
  • max_length = 1280

field py_type: Literal['chat.bsky.moderation.defs#groupConvo'] = 'chat.bsky.moderation.defs#groupConvo'