chat.bsky.convo.defs

Shared type definitions.

atproto_client.models.chat.bsky.convo.defs.ConvoKind

Convo kind

alias of Literal[‘direct’, ‘group’] | str

atproto_client.models.chat.bsky.convo.defs.ConvoLockStatus

Convo lock status

alias of Literal[‘unlocked’, ‘locked’, ‘locked-permanently’] | str

atproto_client.models.chat.bsky.convo.defs.ConvoStatus

Convo status

alias of Literal[‘request’, ‘accepted’] | str

class atproto_client.models.chat.bsky.convo.defs.ConvoRef

Bases: ModelBase

Definition model for chat.bsky.convo.defs.

field convo_id: str [Required]

Convo id.

field did: Did [Required]

Did.

class atproto_client.models.chat.bsky.convo.defs.MessageRef

Bases: ModelBase

Definition model for chat.bsky.convo.defs.

field convo_id: str [Required]

Convo id.

field did: Did [Required]

Did.

field message_id: str [Required]

Message id.

class atproto_client.models.chat.bsky.convo.defs.MessageInput

Bases: ModelBase

Definition model for chat.bsky.convo.defs.

field embed: models.AppBskyEmbedRecord.Main | models.ChatBskyEmbedJoinLink.Main | DotDict | None = None

Embed.

field facets: List[models.AppBskyRichtextFacet.Main] | None = None
field reply_to: models.ChatBskyConvoDefs.ReplyRef | None = None
field text: str [Required]

Text.

Constraints:
  • max_length = 10000

class atproto_client.models.chat.bsky.convo.defs.ReplyRef

Bases: ModelBase

Definition model for chat.bsky.convo.defs. A reference to another message within the same convo, used to indicate that a message is a reply to it.

field message_id: str [Required]

Message id.

class atproto_client.models.chat.bsky.convo.defs.MessageView

Bases: ModelBase

Definition model for chat.bsky.convo.defs.

field embed: models.AppBskyEmbedRecord.View | models.ChatBskyEmbedJoinLink.View | DotDict | None = None

Embed.

field facets: List[models.AppBskyRichtextFacet.Main] | None = None
field id: str [Required]

Id.

field reactions: List[models.ChatBskyConvoDefs.ReactionView] | None = None
field reply_to: models.ChatBskyConvoDefs.MessageView | models.ChatBskyConvoDefs.DeletedMessageView | models.ChatBskyConvoDefs.MessageBeforeUserJoinedGroupView | DotDict | None = None

If set, the message this message is replying to. The full view of the referenced message is embedded so the client can render it inline. Only a single level is embedded: the embedded message will not itself have a populated ‘replyTo’ field even if it was also a reply.

field rev: str [Required]

Rev.

field sender: models.ChatBskyConvoDefs.MessageViewSender [Required]

Sender.

field sent_at: DateTime [Required]

Sent at.

field text: str [Required]

Text.

Constraints:
  • max_length = 10000

class atproto_client.models.chat.bsky.convo.defs.SystemMessageReferredUser

Bases: ModelBase

Definition model for chat.bsky.convo.defs.

field did: Did [Required]

Did.

class atproto_client.models.chat.bsky.convo.defs.SystemMessageView

Bases: ModelBase

Definition model for chat.bsky.convo.defs.

field data: models.ChatBskyConvoDefs.SystemMessageDataAddMember | models.ChatBskyConvoDefs.SystemMessageDataRemoveMember | models.ChatBskyConvoDefs.SystemMessageDataMemberJoin | models.ChatBskyConvoDefs.SystemMessageDataMemberLeave | models.ChatBskyConvoDefs.SystemMessageDataLockConvo | models.ChatBskyConvoDefs.SystemMessageDataUnlockConvo | models.ChatBskyConvoDefs.SystemMessageDataLockConvoPermanently | models.ChatBskyConvoDefs.SystemMessageDataEditGroup | models.ChatBskyConvoDefs.SystemMessageDataCreateJoinLink | models.ChatBskyConvoDefs.SystemMessageDataEditJoinLink | models.ChatBskyConvoDefs.SystemMessageDataEnableJoinLink | models.ChatBskyConvoDefs.SystemMessageDataDisableJoinLink | DotDict [Required]

Data.

Constraints:
  • __module__ = atproto_client.models.unknown_union

  • __firstlineno__ = 17

  • __doc__ = Annotation for open ref unions: an unrecognized $type falls back to DotDict. Applied to t.Union[<known members>, 'dot_dict.DotDictType']. Members are discriminated by py_type as usual, so a known type that fails validation still raises. Only a $type that matches no member, or a missing one, degrades to a DotDict.

  • __get_pydantic_core_schema__ = <bound method UnknownUnionFallback.__get_pydantic_core_schema__ of <class ‘atproto_client.models.unknown_union.UnknownUnionFallback’>>

  • __static_attributes__ = ()

  • __dict__ = {‘__module__’: ‘atproto_client.models.unknown_union’, ‘__firstlineno__’: 17, ‘__doc__’: “Annotation for open ref unions: an unrecognized $type falls back to DotDict.nnApplied to t.Union[<known members>, 'dot_dict.DotDictType']. Members are discriminated byn``py_type`` as usual, so a known type that fails validation still raises. Only a $type thatnmatches no member, or a missing one, degrades to a DotDict.n”, ‘__get_pydantic_core_schema__’: <classmethod(<function UnknownUnionFallback.__get_pydantic_core_schema__ at 0x786e5ef30c20>)>, ‘__static_attributes__’: (), ‘__dict__’: <attribute ‘__dict__’ of ‘UnknownUnionFallback’ objects>, ‘__weakref__’: <attribute ‘__weakref__’ of ‘UnknownUnionFallback’ objects>}

  • __weakref__ = <attribute ‘__weakref__’ of ‘UnknownUnionFallback’ objects>

field id: str [Required]

Id.

field rev: str [Required]

Rev.

field sent_at: DateTime [Required]

Sent at.

class atproto_client.models.chat.bsky.convo.defs.SystemMessageDataAddMember

Bases: ModelBase

Definition model for chat.bsky.convo.defs. System message indicating a user was added to the group convo.

field added_by: models.ChatBskyConvoDefs.SystemMessageReferredUser [Required]

Added by.

field member: models.ChatBskyConvoDefs.SystemMessageReferredUser [Required]

Current view of the member who was added.

field role: models.ChatBskyActorDefs.MemberRole [Required]

Role the user was added to the group with. The role from ‘member’ will reflect the current data, not historical.

class atproto_client.models.chat.bsky.convo.defs.SystemMessageDataRemoveMember

Bases: ModelBase

Definition model for chat.bsky.convo.defs. System message indicating a user was removed from the group convo.

field member: models.ChatBskyConvoDefs.SystemMessageReferredUser [Required]

Current view of the member who was removed.

field removed_by: models.ChatBskyConvoDefs.SystemMessageReferredUser [Required]

Removed by.

class atproto_client.models.chat.bsky.convo.defs.SystemMessageDataMemberJoin

Bases: ModelBase

Definition model for chat.bsky.convo.defs. System message indicating a user joined the group convo via join link.

field approved_by: models.ChatBskyConvoDefs.SystemMessageReferredUser | None = None
field member: models.ChatBskyConvoDefs.SystemMessageReferredUser [Required]

Current view of the member who joined.

field role: models.ChatBskyActorDefs.MemberRole [Required]

Role the user was added to the group with. The role from ‘member’ will reflect the current data, not historical.

class atproto_client.models.chat.bsky.convo.defs.SystemMessageDataMemberLeave

Bases: ModelBase

Definition model for chat.bsky.convo.defs. System message indicating a user voluntarily left the group convo.

field member: models.ChatBskyConvoDefs.SystemMessageReferredUser [Required]

Current view of the member who left the group.

class atproto_client.models.chat.bsky.convo.defs.SystemMessageDataLockConvo

Bases: ModelBase

Definition model for chat.bsky.convo.defs. System message indicating the group convo was locked.

field locked_by: models.ChatBskyConvoDefs.SystemMessageReferredUser [Required]

Current view of the member who locked the group.

class atproto_client.models.chat.bsky.convo.defs.SystemMessageDataUnlockConvo

Bases: ModelBase

Definition model for chat.bsky.convo.defs. System message indicating the group convo was unlocked.

field unlocked_by: models.ChatBskyConvoDefs.SystemMessageReferredUser [Required]

Current view of the member who unlocked the group.

class atproto_client.models.chat.bsky.convo.defs.SystemMessageDataLockConvoPermanently

Bases: ModelBase

Definition model for chat.bsky.convo.defs. System message indicating the group convo was locked permanently.

field locked_by: models.ChatBskyConvoDefs.SystemMessageReferredUser [Required]

Current view of the member who locked the group.

class atproto_client.models.chat.bsky.convo.defs.SystemMessageDataEditGroup

Bases: ModelBase

Definition model for chat.bsky.convo.defs. System message indicating the group info was edited.

field new_name: str | None = None

Group name that replaced the old.

field old_name: str | None = None

Group name that was replaced.

Bases: ModelBase

Definition model for chat.bsky.convo.defs. System message indicating the group join link was created.

Bases: ModelBase

Definition model for chat.bsky.convo.defs. System message indicating the group join link was edited.

Bases: ModelBase

Definition model for chat.bsky.convo.defs. System message indicating the group join link was enabled.

Bases: ModelBase

Definition model for chat.bsky.convo.defs. System message indicating the group join link was disabled.

class atproto_client.models.chat.bsky.convo.defs.DeletedMessageView

Bases: ModelBase

Definition model for chat.bsky.convo.defs.

field id: str [Required]

Id.

field rev: str [Required]

Rev.

field sender: models.ChatBskyConvoDefs.MessageViewSender [Required]

Sender.

field sent_at: DateTime [Required]

Sent at.

class atproto_client.models.chat.bsky.convo.defs.MessageBeforeUserJoinedGroupView

Bases: ModelBase

Definition model for chat.bsky.convo.defs. Placeholder embedded in place of a reply’s parent message when that parent was sent before the viewer joined the group convo. The viewer has no access to that history, so no message data is carried.

class atproto_client.models.chat.bsky.convo.defs.MessageViewSender

Bases: ModelBase

Definition model for chat.bsky.convo.defs.

field did: Did [Required]

Did.

class atproto_client.models.chat.bsky.convo.defs.ReactionView

Bases: ModelBase

Definition model for chat.bsky.convo.defs.

field created_at: DateTime [Required]

Created at.

field sender: models.ChatBskyConvoDefs.ReactionViewSender [Required]

Sender.

field value: str [Required]

Value.

class atproto_client.models.chat.bsky.convo.defs.ReactionViewSender

Bases: ModelBase

Definition model for chat.bsky.convo.defs.

field did: Did [Required]

Did.

class atproto_client.models.chat.bsky.convo.defs.MessageAndReactionView

Bases: ModelBase

Definition model for chat.bsky.convo.defs.

field message: models.ChatBskyConvoDefs.MessageView [Required]

Message.

field reaction: models.ChatBskyConvoDefs.ReactionView [Required]

Reaction.

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

Bases: ModelBase

Definition model for chat.bsky.convo.defs.

field id: str [Required]

Id.

field kind: models.ChatBskyConvoDefs.DirectConvo | models.ChatBskyConvoDefs.GroupConvo | DotDict | None = None

Union field that has data specific to different kinds of convos.

field last_message: models.ChatBskyConvoDefs.MessageView | models.ChatBskyConvoDefs.DeletedMessageView | models.ChatBskyConvoDefs.SystemMessageView | DotDict | None = None

Last message.

field last_reaction: models.ChatBskyConvoDefs.MessageAndReactionView | DotDict | None = None
field members: List[models.ChatBskyActorDefs.ProfileViewBasic] [Required]

Members of this conversation. For direct convos, it will be an immutable list of the 2 members. For group convos, it will a list of important members (the first few members, the viewer, the member who added the viewer, the member who sent the last message, the member who sent the last reaction), but will not contain the full list of members. Use chat.bsky.convo.getConvoMembers to list all members.

field muted: bool [Required]

Muted.

field rev: str [Required]

Rev.

field status: models.ChatBskyConvoDefs.ConvoStatus | None = None
field unread_count: int [Required]

Unread count.

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

Bases: ModelBase

Definition model for chat.bsky.convo.defs.

class atproto_client.models.chat.bsky.convo.defs.GroupConvo

Bases: ModelBase

Definition model for chat.bsky.convo.defs.

field created_at: DateTime [Required]

Created at.

Join link.

field join_request_count: int | None = None
field lock_status: models.ChatBskyConvoDefs.ConvoLockStatus [Required]

The lock status of the conversation.

field lock_status_moderation_override: bool [Required]

Whether the lock status is being forced by a moderation override (account inactivation or convo takedown) rather than the owner’s own setting.

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 = 500

field unread_join_request_count: int | None = None
class atproto_client.models.chat.bsky.convo.defs.LogBeginConvo

Bases: ModelBase

Definition model for chat.bsky.convo.defs. Event indicating a convo containing the viewer was started. Can be direct or group. When a member is added to a group convo, they also get this event.

field convo_id: str [Required]

Convo id.

field rev: str [Required]

Rev.

class atproto_client.models.chat.bsky.convo.defs.LogAcceptConvo

Bases: ModelBase

Definition model for chat.bsky.convo.defs. Event indicating the viewer accepted a convo, and it can be moved out of the request inbox. Can be direct or group.

field convo_id: str [Required]

Convo id.

field rev: str [Required]

Rev.

class atproto_client.models.chat.bsky.convo.defs.LogLeaveConvo

Bases: ModelBase

Definition model for chat.bsky.convo.defs. Event indicating the viewer left a convo. Can be direct or group.

field convo_id: str [Required]

Convo id.

field rev: str [Required]

Rev.

class atproto_client.models.chat.bsky.convo.defs.LogMuteConvo

Bases: ModelBase

Definition model for chat.bsky.convo.defs. Event indicating the viewer muted a convo. Can be direct or group.

field convo_id: str [Required]

Convo id.

field rev: str [Required]

Rev.

class atproto_client.models.chat.bsky.convo.defs.LogUnmuteConvo

Bases: ModelBase

Definition model for chat.bsky.convo.defs. Event indicating the viewer unmuted a convo. Can be direct or group.

field convo_id: str [Required]

Convo id.

field rev: str [Required]

Rev.

class atproto_client.models.chat.bsky.convo.defs.LogCreateMessage

Bases: ModelBase

Definition model for chat.bsky.convo.defs. Event indicating a user-originated message was created. Is not emitted for system messages.

field convo_id: str [Required]

Convo id.

field message: models.ChatBskyConvoDefs.MessageView | models.ChatBskyConvoDefs.DeletedMessageView | DotDict [Required]

Message.

Constraints:
  • __module__ = atproto_client.models.unknown_union

  • __firstlineno__ = 17

  • __doc__ = Annotation for open ref unions: an unrecognized $type falls back to DotDict. Applied to t.Union[<known members>, 'dot_dict.DotDictType']. Members are discriminated by py_type as usual, so a known type that fails validation still raises. Only a $type that matches no member, or a missing one, degrades to a DotDict.

  • __get_pydantic_core_schema__ = <bound method UnknownUnionFallback.__get_pydantic_core_schema__ of <class ‘atproto_client.models.unknown_union.UnknownUnionFallback’>>

  • __static_attributes__ = ()

  • __dict__ = {‘__module__’: ‘atproto_client.models.unknown_union’, ‘__firstlineno__’: 17, ‘__doc__’: “Annotation for open ref unions: an unrecognized $type falls back to DotDict.nnApplied to t.Union[<known members>, 'dot_dict.DotDictType']. Members are discriminated byn``py_type`` as usual, so a known type that fails validation still raises. Only a $type thatnmatches no member, or a missing one, degrades to a DotDict.n”, ‘__get_pydantic_core_schema__’: <classmethod(<function UnknownUnionFallback.__get_pydantic_core_schema__ at 0x786e5ef30c20>)>, ‘__static_attributes__’: (), ‘__dict__’: <attribute ‘__dict__’ of ‘UnknownUnionFallback’ objects>, ‘__weakref__’: <attribute ‘__weakref__’ of ‘UnknownUnionFallback’ objects>}

  • __weakref__ = <attribute ‘__weakref__’ of ‘UnknownUnionFallback’ objects>

field related_profiles: List[models.ChatBskyActorDefs.ProfileViewBasic] | None = None
field rev: str [Required]

Rev.

class atproto_client.models.chat.bsky.convo.defs.LogDeleteMessage

Bases: ModelBase

Definition model for chat.bsky.convo.defs. Event indicating a user-originated message was deleted. Is not emitted for system messages.

field convo_id: str [Required]

Convo id.

field message: models.ChatBskyConvoDefs.MessageView | models.ChatBskyConvoDefs.DeletedMessageView | DotDict [Required]

Message.

Constraints:
  • __module__ = atproto_client.models.unknown_union

  • __firstlineno__ = 17

  • __doc__ = Annotation for open ref unions: an unrecognized $type falls back to DotDict. Applied to t.Union[<known members>, 'dot_dict.DotDictType']. Members are discriminated by py_type as usual, so a known type that fails validation still raises. Only a $type that matches no member, or a missing one, degrades to a DotDict.

  • __get_pydantic_core_schema__ = <bound method UnknownUnionFallback.__get_pydantic_core_schema__ of <class ‘atproto_client.models.unknown_union.UnknownUnionFallback’>>

  • __static_attributes__ = ()

  • __dict__ = {‘__module__’: ‘atproto_client.models.unknown_union’, ‘__firstlineno__’: 17, ‘__doc__’: “Annotation for open ref unions: an unrecognized $type falls back to DotDict.nnApplied to t.Union[<known members>, 'dot_dict.DotDictType']. Members are discriminated byn``py_type`` as usual, so a known type that fails validation still raises. Only a $type thatnmatches no member, or a missing one, degrades to a DotDict.n”, ‘__get_pydantic_core_schema__’: <classmethod(<function UnknownUnionFallback.__get_pydantic_core_schema__ at 0x786e5ef30c20>)>, ‘__static_attributes__’: (), ‘__dict__’: <attribute ‘__dict__’ of ‘UnknownUnionFallback’ objects>, ‘__weakref__’: <attribute ‘__weakref__’ of ‘UnknownUnionFallback’ objects>}

  • __weakref__ = <attribute ‘__weakref__’ of ‘UnknownUnionFallback’ objects>

field rev: str [Required]

Rev.

class atproto_client.models.chat.bsky.convo.defs.LogReadMessage

Bases: ModelBase

Definition model for chat.bsky.convo.defs. DEPRECATED: use logReadConvo instead. Event indicating a convo was read up to a certain message.

field convo_id: str [Required]

Convo id.

field message: models.ChatBskyConvoDefs.MessageView | models.ChatBskyConvoDefs.DeletedMessageView | models.ChatBskyConvoDefs.SystemMessageView | DotDict [Required]

Message.

Constraints:
  • __module__ = atproto_client.models.unknown_union

  • __firstlineno__ = 17

  • __doc__ = Annotation for open ref unions: an unrecognized $type falls back to DotDict. Applied to t.Union[<known members>, 'dot_dict.DotDictType']. Members are discriminated by py_type as usual, so a known type that fails validation still raises. Only a $type that matches no member, or a missing one, degrades to a DotDict.

  • __get_pydantic_core_schema__ = <bound method UnknownUnionFallback.__get_pydantic_core_schema__ of <class ‘atproto_client.models.unknown_union.UnknownUnionFallback’>>

  • __static_attributes__ = ()

  • __dict__ = {‘__module__’: ‘atproto_client.models.unknown_union’, ‘__firstlineno__’: 17, ‘__doc__’: “Annotation for open ref unions: an unrecognized $type falls back to DotDict.nnApplied to t.Union[<known members>, 'dot_dict.DotDictType']. Members are discriminated byn``py_type`` as usual, so a known type that fails validation still raises. Only a $type thatnmatches no member, or a missing one, degrades to a DotDict.n”, ‘__get_pydantic_core_schema__’: <classmethod(<function UnknownUnionFallback.__get_pydantic_core_schema__ at 0x786e5ef30c20>)>, ‘__static_attributes__’: (), ‘__dict__’: <attribute ‘__dict__’ of ‘UnknownUnionFallback’ objects>, ‘__weakref__’: <attribute ‘__weakref__’ of ‘UnknownUnionFallback’ objects>}

  • __weakref__ = <attribute ‘__weakref__’ of ‘UnknownUnionFallback’ objects>

field rev: str [Required]

Rev.

class atproto_client.models.chat.bsky.convo.defs.LogAddReaction

Bases: ModelBase

Definition model for chat.bsky.convo.defs. Event indicating a reaction was added to a message.

field convo_id: str [Required]

Convo id.

field message: models.ChatBskyConvoDefs.MessageView | models.ChatBskyConvoDefs.DeletedMessageView | DotDict [Required]

Message.

Constraints:
  • __module__ = atproto_client.models.unknown_union

  • __firstlineno__ = 17

  • __doc__ = Annotation for open ref unions: an unrecognized $type falls back to DotDict. Applied to t.Union[<known members>, 'dot_dict.DotDictType']. Members are discriminated by py_type as usual, so a known type that fails validation still raises. Only a $type that matches no member, or a missing one, degrades to a DotDict.

  • __get_pydantic_core_schema__ = <bound method UnknownUnionFallback.__get_pydantic_core_schema__ of <class ‘atproto_client.models.unknown_union.UnknownUnionFallback’>>

  • __static_attributes__ = ()

  • __dict__ = {‘__module__’: ‘atproto_client.models.unknown_union’, ‘__firstlineno__’: 17, ‘__doc__’: “Annotation for open ref unions: an unrecognized $type falls back to DotDict.nnApplied to t.Union[<known members>, 'dot_dict.DotDictType']. Members are discriminated byn``py_type`` as usual, so a known type that fails validation still raises. Only a $type thatnmatches no member, or a missing one, degrades to a DotDict.n”, ‘__get_pydantic_core_schema__’: <classmethod(<function UnknownUnionFallback.__get_pydantic_core_schema__ at 0x786e5ef30c20>)>, ‘__static_attributes__’: (), ‘__dict__’: <attribute ‘__dict__’ of ‘UnknownUnionFallback’ objects>, ‘__weakref__’: <attribute ‘__weakref__’ of ‘UnknownUnionFallback’ objects>}

  • __weakref__ = <attribute ‘__weakref__’ of ‘UnknownUnionFallback’ objects>

field reaction: models.ChatBskyConvoDefs.ReactionView [Required]

Reaction.

field related_profiles: List[models.ChatBskyActorDefs.ProfileViewBasic] | None = None
field rev: str [Required]

Rev.

class atproto_client.models.chat.bsky.convo.defs.LogRemoveReaction

Bases: ModelBase

Definition model for chat.bsky.convo.defs. Event indicating a reaction was removed from a message.

field convo_id: str [Required]

Convo id.

field message: models.ChatBskyConvoDefs.MessageView | models.ChatBskyConvoDefs.DeletedMessageView | DotDict [Required]

Message.

Constraints:
  • __module__ = atproto_client.models.unknown_union

  • __firstlineno__ = 17

  • __doc__ = Annotation for open ref unions: an unrecognized $type falls back to DotDict. Applied to t.Union[<known members>, 'dot_dict.DotDictType']. Members are discriminated by py_type as usual, so a known type that fails validation still raises. Only a $type that matches no member, or a missing one, degrades to a DotDict.

  • __get_pydantic_core_schema__ = <bound method UnknownUnionFallback.__get_pydantic_core_schema__ of <class ‘atproto_client.models.unknown_union.UnknownUnionFallback’>>

  • __static_attributes__ = ()

  • __dict__ = {‘__module__’: ‘atproto_client.models.unknown_union’, ‘__firstlineno__’: 17, ‘__doc__’: “Annotation for open ref unions: an unrecognized $type falls back to DotDict.nnApplied to t.Union[<known members>, 'dot_dict.DotDictType']. Members are discriminated byn``py_type`` as usual, so a known type that fails validation still raises. Only a $type thatnmatches no member, or a missing one, degrades to a DotDict.n”, ‘__get_pydantic_core_schema__’: <classmethod(<function UnknownUnionFallback.__get_pydantic_core_schema__ at 0x786e5ef30c20>)>, ‘__static_attributes__’: (), ‘__dict__’: <attribute ‘__dict__’ of ‘UnknownUnionFallback’ objects>, ‘__weakref__’: <attribute ‘__weakref__’ of ‘UnknownUnionFallback’ objects>}

  • __weakref__ = <attribute ‘__weakref__’ of ‘UnknownUnionFallback’ objects>

field reaction: models.ChatBskyConvoDefs.ReactionView [Required]

Reaction.

field related_profiles: List[models.ChatBskyActorDefs.ProfileViewBasic] | None = None
field rev: str [Required]

Rev.

class atproto_client.models.chat.bsky.convo.defs.LogReadConvo

Bases: ModelBase

Definition model for chat.bsky.convo.defs. Event indicating a convo was read up to a certain message.

field convo_id: str [Required]

Convo id.

field message: models.ChatBskyConvoDefs.MessageView | models.ChatBskyConvoDefs.DeletedMessageView | models.ChatBskyConvoDefs.SystemMessageView | DotDict [Required]

Message.

Constraints:
  • __module__ = atproto_client.models.unknown_union

  • __firstlineno__ = 17

  • __doc__ = Annotation for open ref unions: an unrecognized $type falls back to DotDict. Applied to t.Union[<known members>, 'dot_dict.DotDictType']. Members are discriminated by py_type as usual, so a known type that fails validation still raises. Only a $type that matches no member, or a missing one, degrades to a DotDict.

  • __get_pydantic_core_schema__ = <bound method UnknownUnionFallback.__get_pydantic_core_schema__ of <class ‘atproto_client.models.unknown_union.UnknownUnionFallback’>>

  • __static_attributes__ = ()

  • __dict__ = {‘__module__’: ‘atproto_client.models.unknown_union’, ‘__firstlineno__’: 17, ‘__doc__’: “Annotation for open ref unions: an unrecognized $type falls back to DotDict.nnApplied to t.Union[<known members>, 'dot_dict.DotDictType']. Members are discriminated byn``py_type`` as usual, so a known type that fails validation still raises. Only a $type thatnmatches no member, or a missing one, degrades to a DotDict.n”, ‘__get_pydantic_core_schema__’: <classmethod(<function UnknownUnionFallback.__get_pydantic_core_schema__ at 0x786e5ef30c20>)>, ‘__static_attributes__’: (), ‘__dict__’: <attribute ‘__dict__’ of ‘UnknownUnionFallback’ objects>, ‘__weakref__’: <attribute ‘__weakref__’ of ‘UnknownUnionFallback’ objects>}

  • __weakref__ = <attribute ‘__weakref__’ of ‘UnknownUnionFallback’ objects>

field rev: str [Required]

Rev.

class atproto_client.models.chat.bsky.convo.defs.LogAddMember

Bases: ModelBase

Definition model for chat.bsky.convo.defs. Event indicating a member was added to a group convo. The member who was added gets a logBeginConvo (to create the convo) but also a logAddMember (to show the system message as the first message the user sees).

field convo_id: str [Required]

Convo id.

field message: models.ChatBskyConvoDefs.SystemMessageView [Required]

A system message with data of type #systemMessageDataAddMember.

field related_profiles: List[models.ChatBskyActorDefs.ProfileViewBasic] [Required]

Profiles referred in the system message.

field rev: str [Required]

Rev.

class atproto_client.models.chat.bsky.convo.defs.LogRemoveMember

Bases: ModelBase

Definition model for chat.bsky.convo.defs. Event indicating a member was removed from a group convo. The member who was removed gets a logLeaveConvo (to leave the convo) but not a logRemoveMember (because they already left, so can’t see the system message).

field convo_id: str [Required]

Convo id.

field message: models.ChatBskyConvoDefs.SystemMessageView [Required]

A system message with data of type #systemMessageDataRemoveMember.

field related_profiles: List[models.ChatBskyActorDefs.ProfileViewBasic] [Required]

Profiles referred in the system message.

field rev: str [Required]

Rev.

class atproto_client.models.chat.bsky.convo.defs.LogMemberJoin

Bases: ModelBase

Definition model for chat.bsky.convo.defs. Event indicating a member joined a group convo via join link. The member who was added gets a logBeginConvo (to create the convo) but also a logMemberJoin (to show the system message as the first message the user sees).

field convo_id: str [Required]

Convo id.

field message: models.ChatBskyConvoDefs.SystemMessageView [Required]

A system message with data of type #systemMessageDataMemberJoin.

field related_profiles: List[models.ChatBskyActorDefs.ProfileViewBasic] [Required]

Profiles referred in the system message.

field rev: str [Required]

Rev.

class atproto_client.models.chat.bsky.convo.defs.LogMemberLeave

Bases: ModelBase

Definition model for chat.bsky.convo.defs. Event indicating a member voluntarily left a group convo. The member who was removed gets a logLeaveConvo (to leave the convo) but not a logMemberLeave (because they already left, so can’t see the system message).

field convo_id: str [Required]

Convo id.

field message: models.ChatBskyConvoDefs.SystemMessageView [Required]

A system message with data of type #systemMessageDataMemberLeave.

field related_profiles: List[models.ChatBskyActorDefs.ProfileViewBasic] [Required]

Profiles referred in the system message.

field rev: str [Required]

Rev.

class atproto_client.models.chat.bsky.convo.defs.LogLockConvo

Bases: ModelBase

Definition model for chat.bsky.convo.defs. Event indicating a group convo was locked.

field convo_id: str [Required]

Convo id.

field message: models.ChatBskyConvoDefs.SystemMessageView [Required]

A system message with data of type #systemMessageDataLockConvo.

field related_profiles: List[models.ChatBskyActorDefs.ProfileViewBasic] [Required]

Profiles referred in the system message.

field rev: str [Required]

Rev.

class atproto_client.models.chat.bsky.convo.defs.LogUnlockConvo

Bases: ModelBase

Definition model for chat.bsky.convo.defs. Event indicating a group convo was unlocked.

field convo_id: str [Required]

Convo id.

field message: models.ChatBskyConvoDefs.SystemMessageView [Required]

A system message with data of type #systemMessageDataUnlockConvo.

field related_profiles: List[models.ChatBskyActorDefs.ProfileViewBasic] [Required]

Profiles referred in the system message.

field rev: str [Required]

Rev.

class atproto_client.models.chat.bsky.convo.defs.LogLockConvoPermanently

Bases: ModelBase

Definition model for chat.bsky.convo.defs. Event indicating a group convo was locked permanently.

field convo_id: str [Required]

Convo id.

field message: models.ChatBskyConvoDefs.SystemMessageView [Required]

A system message with data of type #systemMessageDataLockConvoPermanently.

field related_profiles: List[models.ChatBskyActorDefs.ProfileViewBasic] [Required]

Profiles referred in the system message.

field rev: str [Required]

Rev.

class atproto_client.models.chat.bsky.convo.defs.LogEditGroup

Bases: ModelBase

Definition model for chat.bsky.convo.defs. Event indicating info about group convo was edited.

field convo_id: str [Required]

Convo id.

field message: models.ChatBskyConvoDefs.SystemMessageView [Required]

A system message with data of type #systemMessageDataEditGroup.

field rev: str [Required]

Rev.

Bases: ModelBase

Definition model for chat.bsky.convo.defs. Event indicating a join link was created for a group convo.

field convo_id: str [Required]

Convo id.

field message: models.ChatBskyConvoDefs.SystemMessageView [Required]

A system message with data of type #systemMessageDataCreateJoinLink.

field rev: str [Required]

Rev.

Bases: ModelBase

Definition model for chat.bsky.convo.defs. Event indicating a settings about a join link for a group convo were edited.

field convo_id: str [Required]

Convo id.

field message: models.ChatBskyConvoDefs.SystemMessageView [Required]

A system message with data of type #systemMessageDataEditJoinLink.

field rev: str [Required]

Rev.

Bases: ModelBase

Definition model for chat.bsky.convo.defs. Event indicating a join link was enabled for a group convo.

field convo_id: str [Required]

Convo id.

field message: models.ChatBskyConvoDefs.SystemMessageView [Required]

A system message with data of type #systemMessageDataEnableJoinLink.

field rev: str [Required]

Rev.

Bases: ModelBase

Definition model for chat.bsky.convo.defs. Event indicating a join link was disabled for a group convo.

field convo_id: str [Required]

Convo id.

field message: models.ChatBskyConvoDefs.SystemMessageView [Required]

A system message with data of type #systemMessageDataDisableJoinLink.

field rev: str [Required]

Rev.

class atproto_client.models.chat.bsky.convo.defs.LogIncomingJoinRequest

Bases: ModelBase

Definition model for chat.bsky.convo.defs. Event indicating a join request was made to a group the viewer owns. Only the owner gets this.

field convo_id: str [Required]

Convo id.

field member: models.ChatBskyActorDefs.ProfileViewBasic [Required]

Prospective member who requested to join.

field rev: str [Required]

Rev.

class atproto_client.models.chat.bsky.convo.defs.LogApproveJoinRequest

Bases: ModelBase

Definition model for chat.bsky.convo.defs. Event indicating a join request was approved by the viewer. Only the owner gets this. The approved member gets a logBeginConvo.

field convo_id: str [Required]

Convo id.

field member: models.ChatBskyActorDefs.ProfileViewBasic [Required]

Prospective member who requested to join.

field rev: str [Required]

Rev.

class atproto_client.models.chat.bsky.convo.defs.LogRejectJoinRequest

Bases: ModelBase

Definition model for chat.bsky.convo.defs. Event indicating a join request was rejected by the viewer. Only the owner gets this.

field convo_id: str [Required]

Convo id.

field member: models.ChatBskyActorDefs.ProfileViewBasic [Required]

Prospective member who requested to join.

field rev: str [Required]

Rev.

class atproto_client.models.chat.bsky.convo.defs.LogOutgoingJoinRequest

Bases: ModelBase

Definition model for chat.bsky.convo.defs. Event indicating a join request was made by the requester. Only requester actor gets this.

field convo_id: str [Required]

Convo id.

field rev: str [Required]

Rev.

class atproto_client.models.chat.bsky.convo.defs.LogWithdrawIncomingJoinRequest

Bases: ModelBase

Definition model for chat.bsky.convo.defs. Event indicating a prospective member withdrew their join request. Only the owner gets this.

field convo_id: str [Required]

Convo id.

field member: models.ChatBskyActorDefs.ProfileViewBasic [Required]

Prospective member who withdrew their join request.

field rev: str [Required]

Rev.

class atproto_client.models.chat.bsky.convo.defs.LogWithdrawOutgoingJoinRequest

Bases: ModelBase

Definition model for chat.bsky.convo.defs. Event indicating the viewer withdrew their own join request. Only requester actor gets this.

field convo_id: str [Required]

Convo id.

field rev: str [Required]

Rev.

class atproto_client.models.chat.bsky.convo.defs.LogReadJoinRequests

Bases: ModelBase

Definition model for chat.bsky.convo.defs. Event indicating the group owner marked join requests as read. Only the owner gets this.

field convo_id: str [Required]

Convo id.

field rev: str [Required]

Rev.