chat.bsky.convo.defs

Details · defs
Kinddefs
Authorityconvo.bsky.chat
Indexed

Showing version bafyreibpb3r5pqc3yrjslx7ntfl5vvgdlgqanuwbcvq3q7sfhayi75x7uu. Show the latest

#convoKind

string
  • knownValues: direct | group

#convoLockStatus

string
  • knownValues: unlocked | locked | locked-permanently

#convoRef

object

Properties

convoId

requiredstring

did

requiredstring · did

#convoStatus

string
  • knownValues: request | accepted

#convoView

object

Properties

id

requiredstring

kind

union

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

members

requiredarray

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.

muted

requiredboolean

rev

requiredstring

Convo status for the viewer member (not the convo itself).

Reference

unreadCount

requiredinteger

#deletedMessageView

object

Properties

id

requiredstring

rev

requiredstring

sender

requiredref
Reference

sentAt

requiredstring · datetime

#directConvo

object

Properties

#groupConvo

object

Properties

createdAt

requiredstring · datetime

The total number of pending join requests for the group conversation. Only present for the owner. Capped at 21.

lockStatus

requiredref

The lock status of the conversation.

Reference

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

memberCount

requiredinteger

The total number of members in the group conversation.

memberLimit

requiredinteger

The maximum number of members allowed in the group conversation.

name

requiredstring

The display name of the group conversation.

  • maxLength: 500
  • maxGraphemes: 50

The number of unread join requests for the group conversation. Only present for the owner.

#logAcceptConvo

object

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

Properties

convoId

requiredstring

rev

requiredstring

#logAddMember

object

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

Properties

convoId

requiredstring

message

requiredref

A system message with data of type #systemMessageDataAddMember

Reference

relatedProfiles

requiredarray

Profiles referred in the system message.

rev

requiredstring

#logAddReaction

object

Event indicating a reaction was added to a message.

Properties

convoId

requiredstring

reaction

requiredref
Reference

Profiles referred in the message and reaction views. This isn't required for compatibility, because it was added later, but should generally be present.

rev

requiredstring

#logApproveJoinRequest

object

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

Properties

convoId

requiredstring

member

requiredref

Prospective member who requested to join.

rev

requiredstring

#logBeginConvo

object

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.

Properties

convoId

requiredstring

rev

requiredstring

#logCreateMessage

object

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

Properties

convoId

requiredstring

Profiles referred to in the message view. This isn't required for compatibility, because it was added later, but should generally be present.

rev

requiredstring

#logDeleteMessage

object

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

Properties

convoId

requiredstring

rev

requiredstring

#logEditGroup

object

Event indicating info about group convo was edited.

Properties

convoId

requiredstring

message

requiredref

A system message with data of type #systemMessageDataEditGroup

Reference

rev

requiredstring

#logIncomingJoinRequest

object

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

Properties

convoId

requiredstring

member

requiredref

Prospective member who requested to join.

rev

requiredstring

#logLeaveConvo

object

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

Properties

convoId

requiredstring

rev

requiredstring

#logLockConvo

object

Event indicating a group convo was locked.

Properties

convoId

requiredstring

message

requiredref

A system message with data of type #systemMessageDataLockConvo

Reference

relatedProfiles

requiredarray

Profiles referred in the system message.

rev

requiredstring

#logLockConvoPermanently

object

Event indicating a group convo was locked permanently.

Properties

convoId

requiredstring

message

requiredref

A system message with data of type #systemMessageDataLockConvoPermanently

Reference

relatedProfiles

requiredarray

Profiles referred in the system message.

rev

requiredstring

#logMemberJoin

object

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

Properties

convoId

requiredstring

message

requiredref

A system message with data of type #systemMessageDataMemberJoin

Reference

relatedProfiles

requiredarray

Profiles referred in the system message.

rev

requiredstring

#logMemberLeave

object

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

Properties

convoId

requiredstring

message

requiredref

A system message with data of type #systemMessageDataMemberLeave

Reference

relatedProfiles

requiredarray

Profiles referred in the system message.

rev

requiredstring

#logMuteConvo

object

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

Properties

convoId

requiredstring

rev

requiredstring

#logOutgoingJoinRequest

object

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

Properties

convoId

requiredstring

rev

requiredstring

#logReadConvo

object

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

Properties

convoId

requiredstring

rev

requiredstring

#logReadJoinRequests

object

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

Properties

convoId

requiredstring

rev

requiredstring

#logReadMessage

object

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

Properties

convoId

requiredstring

rev

requiredstring

#logRejectJoinRequest

object

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

Properties

convoId

requiredstring

member

requiredref

Prospective member who requested to join.

rev

requiredstring

#logRemoveMember

object

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

Properties

convoId

requiredstring

message

requiredref

A system message with data of type #systemMessageDataRemoveMember

Reference

relatedProfiles

requiredarray

Profiles referred in the system message.

rev

requiredstring

#logRemoveReaction

object

Event indicating a reaction was removed from a message.

Properties

convoId

requiredstring

reaction

requiredref
Reference

Profiles referred in the message and reaction views. This isn't required for compatibility, because it was added later, but should generally be present.

rev

requiredstring

#logUnlockConvo

object

Event indicating a group convo was unlocked.

Properties

convoId

requiredstring

message

requiredref

A system message with data of type #systemMessageDataUnlockConvo

Reference

relatedProfiles

requiredarray

Profiles referred in the system message.

rev

requiredstring

#logUnmuteConvo

object

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

Properties

convoId

requiredstring

rev

requiredstring

#logWithdrawIncomingJoinRequest

object

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

Properties

convoId

requiredstring

member

requiredref

Prospective member who withdrew their join request.

rev

requiredstring

#logWithdrawOutgoingJoinRequest

object

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

Properties

convoId

requiredstring

rev

requiredstring

#messageAndReactionView

object

Properties

message

requiredref
Reference

reaction

requiredref
Reference

#messageBeforeUserJoinedGroupView

object

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.

Properties

#messageInput

object

Properties

facets

array

Annotations of text (mentions, URLs, hashtags, etc)

itemsref

If set, the message this message is replying to. The referenced message must be in the same convo.

Reference

text

requiredstring
  • maxLength: 10000
  • maxGraphemes: 1000

#messageRef

object

Properties

convoId

requiredstring

did

requiredstring · did

messageId

requiredstring

#messageView

object

Properties

facets

array

Annotations of text (mentions, URLs, hashtags, etc)

itemsref

id

requiredstring

Reactions to this message, in ascending order of creation time.

itemsref
Reference

replyTo

union

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.

rev

requiredstring

sender

requiredref
Reference

sentAt

requiredstring · datetime

text

requiredstring
  • maxLength: 10000
  • maxGraphemes: 1000

#messageViewSender

object

Properties

did

requiredstring · did

#reactionView

object

Properties

createdAt

requiredstring · datetime

sender

requiredref

value

requiredstring

#reactionViewSender

object

Properties

did

requiredstring · did

#replyRef

object

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

Properties

messageId

requiredstring

#systemMessageDataAddMember

object

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

Properties

addedBy

requiredref

member

requiredref

Current view of the member who was added.

role

requiredref

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

#systemMessageDataEditGroup

object

System message indicating the group info was edited.

Properties

newName

string

Group name that replaced the old.

oldName

string

Group name that was replaced.

#systemMessageDataLockConvo

object

System message indicating the group convo was locked.

Properties

lockedBy

requiredref

Current view of the member who locked the group.

#systemMessageDataLockConvoPermanently

object

System message indicating the group convo was locked permanently.

Properties

lockedBy

requiredref

Current view of the member who locked the group.

#systemMessageDataMemberJoin

object

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

Properties

If join link was configured to require approval, this will be set to who approved the request. Undefined if approval was not required.

member

requiredref

Current view of the member who joined.

role

requiredref

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

#systemMessageDataMemberLeave

object

System message indicating a user voluntarily left the group convo.

Properties

member

requiredref

Current view of the member who left the group.

#systemMessageDataRemoveMember

object

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

Properties

member

requiredref

Current view of the member who was removed.

removedBy

requiredref

#systemMessageDataUnlockConvo

object

System message indicating the group convo was unlocked.

Properties

unlockedBy

requiredref

Current view of the member who unlocked the group.

#systemMessageReferredUser

object

Properties

did

requiredstring · did

#systemMessageView

object

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

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

  • A current group convo member.

  • Preview for a disabled join link. Carries only the code so clients can correlate with the input and render a disabled state.

  • Subscribe to stream of chat events targeted to moderation. Private endpoint.