chat.bsky.convo.defs

Details · defs
Kinddefs
Authorityconvo.bsky.chat
Indexed

Showing version bafyreif46wyhygr4akuqtfb2rliraocrhk3echog4ahmskfomsqjo5uxmi. Show the latest

#convoKind

string
  • knownValues: direct | group

#convoLockStatus

string
  • knownValues: unlocked | locked | locked-permanently

#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 invited 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. NOTE: TBD an endpoint 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

[NOTE: This is under active development and should be considered unstable while this note is here].

Properties

#groupConvo

object

[NOTE: This is under active development and should be considered unstable while this note is here].

Properties

lockStatus

requiredref

The lock status of the conversation.

Reference

name

requiredstring

The display name of the group conversation.

  • maxLength: 1280
  • maxGraphemes: 128

#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

[NOTE: This is under active development and should be considered unstable while this note is here]. 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

rev

requiredstring

#logAddReaction

object

Event indicating a reaction was added to a message.

Properties

convoId

requiredstring

reaction

requiredref
Reference

rev

requiredstring

#logApproveJoinRequest

object

[NOTE: This is under active development and should be considered unstable while this note is here]. 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

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

[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating info about group convo was edited.

Properties

convoId

requiredstring

message

requiredref

rev

requiredstring

#logIncomingJoinRequest

object

[NOTE: This is under active development and should be considered unstable while this note is here]. 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

[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a group convo was locked.

Properties

convoId

requiredstring

message

requiredref

rev

requiredstring

#logLockConvoPermanently

object

[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a group convo was locked permanently.

Properties

convoId

requiredstring

rev

requiredstring

#logMemberJoin

object

[NOTE: This is under active development and should be considered unstable while this note is here]. 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

rev

requiredstring

#logMemberLeave

object

[NOTE: This is under active development and should be considered unstable while this note is here]. 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

rev

requiredstring

#logMuteConvo

object

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

Properties

convoId

requiredstring

rev

requiredstring

#logOutgoingJoinRequest

object

[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join request was made by the viewer.

Properties

convoId

requiredstring

rev

requiredstring

#logReadConvo

object

[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a convo was read up to a certain message.

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

[NOTE: This is under active development and should be considered unstable while this note is here]. 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

[NOTE: This is under active development and should be considered unstable while this note is here]. 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

rev

requiredstring

#logRemoveReaction

object

Event indicating a reaction was removed from a message.

Properties

convoId

requiredstring

reaction

requiredref
Reference

rev

requiredstring

#logUnlockConvo

object

[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a group convo was unlocked.

Properties

convoId

requiredstring

message

requiredref

rev

requiredstring

#logUnmuteConvo

object

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

Properties

convoId

requiredstring

rev

requiredstring

#messageAndReactionView

object

Properties

message

requiredref
Reference

reaction

requiredref
Reference

#messageInput

object

Properties

facets

array

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

itemsref

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

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

#systemMessageDataAddMember

object

[NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating a user was added to the group convo.

Properties

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

[NOTE: This is under active development and should be considered unstable while this note is here]. 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

[NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating the group convo was locked.

Properties

lockedBy

requiredref

Current view of the member who locked the group.

#systemMessageDataLockConvoPermanently

object

[NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating the group convo was locked permanently.

Properties

lockedBy

requiredref

Current view of the member who locked the group.

#systemMessageDataMemberJoin

object

[NOTE: This is under active development and should be considered unstable while this note is here]. 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

[NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating a user voluntarily left the group convo.

Properties

member

requiredref

Current view of the member who left the group.

#systemMessageDataRemoveMember

object

[NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating a user was removed from the group convo.

Properties

member

requiredref

Current view of the member who was removed.

#systemMessageDataUnlockConvo

object

[NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating the group convo was unlocked.

Properties

unlockedBy

requiredref

Current view of the member who unlocked the group.

#systemMessageView

object

[NOTE: This is under active development and should be considered unstable while this note is here].

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.