Skip to main content

chat.bsky.convo.defs

#convoKind

PropertyTypeKnown ValuesRequiredDescription
convoKindstringdirect
group
-

#convoLockStatus

PropertyTypeKnown ValuesRequiredDescription
convoLockStatusstringunlocked
locked
locked-permanently
-

#convoStatus

PropertyTypeKnown ValuesRequiredDescription
convoStatusstringrequest
accepted
-

#convoRef

PropertyTypeKnown ValuesRequiredDescription
didstring (did)--
convoIdstring--

#messageRef

PropertyTypeKnown ValuesRequiredDescription
didstring (did)--
convoIdstring--
messageIdstring--

#messageInput

PropertyTypeKnown ValuesRequiredDescription
textstring--
facetsarray of app.bsky.richtext.facet-Annotations of text (mentions, URLs, hashtags, etc)
embedunion of
app.bsky.embed.record
chat.bsky.embed.joinLink
--
replyTo#replyRef--

#replyRef

A reference to another message within the same convo, used to indicate that a message is a reply to it.

PropertyTypeKnown ValuesRequiredDescription
messageIdstring--

#messageView

PropertyTypeKnown ValuesRequiredDescription
idstring--
revstring--
textstring--
facetsarray of app.bsky.richtext.facet-Annotations of text (mentions, URLs, hashtags, etc)
embedunion of
app.bsky.embed.record#view
chat.bsky.embed.joinLink#view
--
reactionsarray of #reactionView-Reactions to this message, in ascending order of creation time.
replyTounion of
#messageView
#deletedMessageView
#messageBeforeUserJoinedGroupView
--
sender#messageViewSender--
sentAtstring (datetime)--

#systemMessageReferredUser

PropertyTypeKnown ValuesRequiredDescription
didstring (did)--

#systemMessageView

PropertyTypeKnown ValuesRequiredDescription
idstring--
revstring--
sentAtstring (datetime)--
dataunion of
#systemMessageDataAddMember
#systemMessageDataRemoveMember
#systemMessageDataMemberJoin
#systemMessageDataMemberLeave
#systemMessageDataLockConvo
#systemMessageDataUnlockConvo
#systemMessageDataLockConvoPermanently
#systemMessageDataEditGroup
#systemMessageDataCreateJoinLink
#systemMessageDataEditJoinLink
#systemMessageDataEnableJoinLink
#systemMessageDataDisableJoinLink
--

#systemMessageDataAddMember

System message indicating a user was added to the group convo.

PropertyTypeKnown ValuesRequiredDescription
member#systemMessageReferredUser--
rolechat.bsky.actor.defs#memberRole--
addedBy#systemMessageReferredUser--

#systemMessageDataRemoveMember

System message indicating a user was removed from the group convo.

PropertyTypeKnown ValuesRequiredDescription
member#systemMessageReferredUser--
removedBy#systemMessageReferredUser--

#systemMessageDataMemberJoin

System message indicating a user joined the group convo via join link.

PropertyTypeKnown ValuesRequiredDescription
member#systemMessageReferredUser--
rolechat.bsky.actor.defs#memberRole--
approvedBy#systemMessageReferredUser--

#systemMessageDataMemberLeave

System message indicating a user voluntarily left the group convo.

PropertyTypeKnown ValuesRequiredDescription
member#systemMessageReferredUser--

#systemMessageDataLockConvo

System message indicating the group convo was locked.

PropertyTypeKnown ValuesRequiredDescription
lockedBy#systemMessageReferredUser--

#systemMessageDataUnlockConvo

System message indicating the group convo was unlocked.

PropertyTypeKnown ValuesRequiredDescription
unlockedBy#systemMessageReferredUser--

#systemMessageDataLockConvoPermanently

System message indicating the group convo was locked permanently.

PropertyTypeKnown ValuesRequiredDescription
lockedBy#systemMessageReferredUser--

#systemMessageDataEditGroup

System message indicating the group info was edited.

PropertyTypeKnown ValuesRequiredDescription
oldNamestring-Group name that was replaced.
newNamestring-Group name that replaced the old.

System message indicating the group join link was created.

System message indicating the group join link was edited.

System message indicating the group join link was enabled.

System message indicating the group join link was disabled.

#deletedMessageView

PropertyTypeKnown ValuesRequiredDescription
idstring--
revstring--
sender#messageViewSender--
sentAtstring (datetime)--

#messageBeforeUserJoinedGroupView

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.

#messageViewSender

PropertyTypeKnown ValuesRequiredDescription
didstring (did)--

#reactionView

PropertyTypeKnown ValuesRequiredDescription
valuestring--
sender#reactionViewSender--
createdAtstring (datetime)--

#reactionViewSender

PropertyTypeKnown ValuesRequiredDescription
didstring (did)--

#messageAndReactionView

PropertyTypeKnown ValuesRequiredDescription
message#messageView--
reaction#reactionView--

#convoView

PropertyTypeKnown ValuesRequiredDescription
idstring--
revstring--
membersarray of chat.bsky.actor.defs#profileViewBasic-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.
lastMessageunion of
#messageView
#deletedMessageView
#systemMessageView
--
lastReactionunion of
#messageAndReactionView
--
mutedboolean--
status#convoStatus--
unreadCountinteger--
kindunion of
#directConvo
#groupConvo
--

#directConvo

#groupConvo

PropertyTypeKnown ValuesRequiredDescription
createdAtstring (datetime)--
joinLinkchat.bsky.group.defs#joinLinkView--
joinRequestCountinteger-The total number of pending join requests for the group conversation. Only present for the owner. Capped at 21.
lockStatus#convoLockStatus--
lockStatusModerationOverrideboolean-Whether the lock status is being forced by a moderation override (account inactivation or convo takedown) rather than the owner's own setting.
memberCountinteger-The total number of members in the group conversation.
memberLimitinteger-The maximum number of members allowed in the group conversation.
namestring-The display name of the group conversation.
unreadJoinRequestCountinteger-The number of unread join requests for the group conversation. Only present for the owner.

#logBeginConvo

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.

PropertyTypeKnown ValuesRequiredDescription
revstring--
convoIdstring--

#logAcceptConvo

Event indicating the viewer accepted a convo, and it can be moved out of the request inbox. Can be direct or group.

PropertyTypeKnown ValuesRequiredDescription
revstring--
convoIdstring--

#logLeaveConvo

Event indicating the viewer left a convo. Can be direct or group.

PropertyTypeKnown ValuesRequiredDescription
revstring--
convoIdstring--

#logMuteConvo

Event indicating the viewer muted a convo. Can be direct or group.

PropertyTypeKnown ValuesRequiredDescription
revstring--
convoIdstring--

#logUnmuteConvo

Event indicating the viewer unmuted a convo. Can be direct or group.

PropertyTypeKnown ValuesRequiredDescription
revstring--
convoIdstring--

#logCreateMessage

Event indicating a user-originated message was created. Is not emitted for system messages.

PropertyTypeKnown ValuesRequiredDescription
revstring--
convoIdstring--
messageunion of
#messageView
#deletedMessageView
--
relatedProfilesarray of chat.bsky.actor.defs#profileViewBasic-Profiles referred to in the message view. This isn't required for compatibility, because it was added later, but should generally be present.

#logDeleteMessage

Event indicating a user-originated message was deleted. Is not emitted for system messages.

PropertyTypeKnown ValuesRequiredDescription
revstring--
convoIdstring--
messageunion of
#messageView
#deletedMessageView
--

#logReadMessage

DEPRECATED: use logReadConvo instead. Event indicating a convo was read up to a certain message.

PropertyTypeKnown ValuesRequiredDescription
revstring--
convoIdstring--
messageunion of
#messageView
#deletedMessageView
#systemMessageView
--

#logAddReaction

Event indicating a reaction was added to a message.

PropertyTypeKnown ValuesRequiredDescription
revstring--
convoIdstring--
messageunion of
#messageView
#deletedMessageView
--
reaction#reactionView--
relatedProfilesarray of chat.bsky.actor.defs#profileViewBasic-Profiles referred in the message and reaction views. This isn't required for compatibility, because it was added later, but should generally be present.

#logRemoveReaction

Event indicating a reaction was removed from a message.

PropertyTypeKnown ValuesRequiredDescription
revstring--
convoIdstring--
messageunion of
#messageView
#deletedMessageView
--
reaction#reactionView--
relatedProfilesarray of chat.bsky.actor.defs#profileViewBasic-Profiles referred in the message and reaction views. This isn't required for compatibility, because it was added later, but should generally be present.

#logReadConvo

Event indicating a convo was read up to a certain message.

PropertyTypeKnown ValuesRequiredDescription
revstring--
convoIdstring--
messageunion of
#messageView
#deletedMessageView
#systemMessageView
--

#logAddMember

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).

PropertyTypeKnown ValuesRequiredDescription
revstring--
convoIdstring--
message#systemMessageView--
relatedProfilesarray of chat.bsky.actor.defs#profileViewBasic-Profiles referred in the system message.

#logRemoveMember

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).

PropertyTypeKnown ValuesRequiredDescription
revstring--
convoIdstring--
message#systemMessageView--
relatedProfilesarray of chat.bsky.actor.defs#profileViewBasic-Profiles referred in the system message.

#logMemberJoin

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).

PropertyTypeKnown ValuesRequiredDescription
revstring--
convoIdstring--
message#systemMessageView--
relatedProfilesarray of chat.bsky.actor.defs#profileViewBasic-Profiles referred in the system message.

#logMemberLeave

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).

PropertyTypeKnown ValuesRequiredDescription
revstring--
convoIdstring--
message#systemMessageView--
relatedProfilesarray of chat.bsky.actor.defs#profileViewBasic-Profiles referred in the system message.

#logLockConvo

Event indicating a group convo was locked.

PropertyTypeKnown ValuesRequiredDescription
revstring--
convoIdstring--
message#systemMessageView--
relatedProfilesarray of chat.bsky.actor.defs#profileViewBasic-Profiles referred in the system message.

#logUnlockConvo

Event indicating a group convo was unlocked.

PropertyTypeKnown ValuesRequiredDescription
revstring--
convoIdstring--
message#systemMessageView--
relatedProfilesarray of chat.bsky.actor.defs#profileViewBasic-Profiles referred in the system message.

#logLockConvoPermanently

Event indicating a group convo was locked permanently.

PropertyTypeKnown ValuesRequiredDescription
revstring--
convoIdstring--
message#systemMessageView--
relatedProfilesarray of chat.bsky.actor.defs#profileViewBasic-Profiles referred in the system message.

#logEditGroup

Event indicating info about group convo was edited.

PropertyTypeKnown ValuesRequiredDescription
revstring--
convoIdstring--
message#systemMessageView--

Event indicating a join link was created for a group convo.

PropertyTypeKnown ValuesRequiredDescription
revstring--
convoIdstring--
message#systemMessageView--

Event indicating a settings about a join link for a group convo were edited.

PropertyTypeKnown ValuesRequiredDescription
revstring--
convoIdstring--
message#systemMessageView--

Event indicating a join link was enabled for a group convo.

PropertyTypeKnown ValuesRequiredDescription
revstring--
convoIdstring--
message#systemMessageView--

Event indicating a join link was disabled for a group convo.

PropertyTypeKnown ValuesRequiredDescription
revstring--
convoIdstring--
message#systemMessageView--

#logIncomingJoinRequest

Event indicating a join request was made to a group the viewer owns. Only the owner gets this.

PropertyTypeKnown ValuesRequiredDescription
revstring--
convoIdstring--
memberchat.bsky.actor.defs#profileViewBasic--

#logApproveJoinRequest

Event indicating a join request was approved by the viewer. Only the owner gets this. The approved member gets a logBeginConvo.

PropertyTypeKnown ValuesRequiredDescription
revstring--
convoIdstring--
memberchat.bsky.actor.defs#profileViewBasic--

#logRejectJoinRequest

Event indicating a join request was rejected by the viewer. Only the owner gets this.

PropertyTypeKnown ValuesRequiredDescription
revstring--
convoIdstring--
memberchat.bsky.actor.defs#profileViewBasic--

#logOutgoingJoinRequest

Event indicating a join request was made by the requester. Only requester actor gets this.

PropertyTypeKnown ValuesRequiredDescription
revstring--
convoIdstring--

#logWithdrawIncomingJoinRequest

Event indicating a prospective member withdrew their join request. Only the owner gets this.

PropertyTypeKnown ValuesRequiredDescription
revstring--
convoIdstring--
memberchat.bsky.actor.defs#profileViewBasic--

#logWithdrawOutgoingJoinRequest

Event indicating the viewer withdrew their own join request. Only requester actor gets this.

PropertyTypeKnown ValuesRequiredDescription
revstring--
convoIdstring--

#logReadJoinRequests

Event indicating the group owner marked join requests as read. Only the owner gets this.

PropertyTypeKnown ValuesRequiredDescription
revstring--
convoIdstring--