chat.bsky.convo.defs
Details · defs
| Kind | defs |
|---|---|
| Authority | convo.bsky.chat |
| Indexed |
Showing version bafyreif46wyhygr4akuqtfb2rliraocrhk3echog4ahmskfomsqjo5uxmi. Show the latest
Checks
Validunlimited-stringdefs.convoKindNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.convoLockStatusNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.convoStatusNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.convoView.properties.idNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.convoView.properties.revNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.deletedMessageView.properties.idNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.deletedMessageView.properties.revNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logAcceptConvo.properties.convoIdNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logAcceptConvo.properties.revNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logAddMember.properties.convoIdNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logAddMember.properties.revNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logAddReaction.properties.convoIdNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logAddReaction.properties.revNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logApproveJoinRequest.properties.convoIdNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logApproveJoinRequest.properties.revNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logBeginConvo.properties.convoIdNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logBeginConvo.properties.revNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logCreateJoinLink.properties.convoIdNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logCreateJoinLink.properties.revNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logCreateMessage.properties.convoIdNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logCreateMessage.properties.revNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logDeleteMessage.properties.convoIdNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logDeleteMessage.properties.revNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logDisableJoinLink.properties.convoIdNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logDisableJoinLink.properties.revNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logEditGroup.properties.convoIdNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logEditGroup.properties.revNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logEditJoinLink.properties.convoIdNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logEditJoinLink.properties.revNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logEnableJoinLink.properties.convoIdNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logEnableJoinLink.properties.revNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logIncomingJoinRequest.properties.convoIdNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logIncomingJoinRequest.properties.revNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logLeaveConvo.properties.convoIdNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logLeaveConvo.properties.revNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logLockConvo.properties.convoIdNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logLockConvo.properties.revNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logLockConvoPermanently.properties.convoIdNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logLockConvoPermanently.properties.revNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logMemberJoin.properties.convoIdNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logMemberJoin.properties.revNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logMemberLeave.properties.convoIdNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logMemberLeave.properties.revNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logMuteConvo.properties.convoIdNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logMuteConvo.properties.revNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logOutgoingJoinRequest.properties.convoIdNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logOutgoingJoinRequest.properties.revNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logReadConvo.properties.convoIdNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logReadConvo.properties.revNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logReadMessage.properties.convoIdNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logReadMessage.properties.revNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logRejectJoinRequest.properties.convoIdNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logRejectJoinRequest.properties.revNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logRemoveMember.properties.convoIdNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logRemoveMember.properties.revNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logRemoveReaction.properties.convoIdNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logRemoveReaction.properties.revNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logUnlockConvo.properties.convoIdNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logUnlockConvo.properties.revNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logUnmuteConvo.properties.convoIdNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.logUnmuteConvo.properties.revNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.messageRef.properties.convoIdNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.messageRef.properties.messageIdNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.messageView.properties.idNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.messageView.properties.revNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.reactionView.properties.valueNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.systemMessageDataEditGroup.properties.newNameNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.systemMessageDataEditGroup.properties.oldNameNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.systemMessageView.properties.idNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.systemMessageView.properties.revNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"convoKind": {
"knownValues": [
"direct",
"group"
],
"type": "string"
},
"convoLockStatus": {
"knownValues": [
"unlocked",
"locked",
"locked-permanently"
],
"type": "string"
},
"convoStatus": {
"knownValues": [
"request",
"accepted"
],
"type": "string"
},
"convoView": {
"properties": {
"id": {
"type": "string"
},
"kind": {
"description": "Union field that has data specific to different kinds of convos.",
"refs": [
"#directConvo",
"#groupConvo"
],
"type": "union"
},
"lastMessage": {
"refs": [
"#messageView",
"#deletedMessageView",
"#systemMessageView"
],
"type": "union"
},
"lastReaction": {
"refs": [
"#messageAndReactionView"
],
"type": "union"
},
"members": {
"description": "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.",
"items": {
"ref": "chat.bsky.actor.defs#profileViewBasic",
"type": "ref"
},
"type": "array"
},
"muted": {
"type": "boolean"
},
"rev": {
"type": "string"
},
"status": {
"description": "Convo status for the viewer member (not the convo itself).",
"ref": "#convoStatus",
"type": "ref"
},
"unreadCount": {
"type": "integer"
}
},
"required": [
"id",
"rev",
"members",
"muted",
"unreadCount"
],
"type": "object"
},
"deletedMessageView": {
"properties": {
"id": {
"type": "string"
},
"rev": {
"type": "string"
},
"sender": {
"ref": "#messageViewSender",
"type": "ref"
},
"sentAt": {
"format": "datetime",
"type": "string"
}
},
"required": [
"id",
"rev",
"sender",
"sentAt"
],
"type": "object"
},
"directConvo": {
"description": "[NOTE: This is under active development and should be considered unstable while this note is here].",
"properties": {},
"type": "object"
},
"groupConvo": {
"description": "[NOTE: This is under active development and should be considered unstable while this note is here].",
"properties": {
"joinLink": {
"ref": "chat.bsky.group.defs#joinLinkView",
"type": "ref"
},
"lockStatus": {
"description": "The lock status of the conversation.",
"ref": "#convoLockStatus",
"type": "ref"
},
"name": {
"description": "The display name of the group conversation.",
"maxGraphemes": 128,
"maxLength": 1280,
"type": "string"
}
},
"required": [
"name",
"lockStatus"
],
"type": "object"
},
"logAcceptConvo": {
"description": "Event indicating the viewer accepted a convo, and it can be moved out of the request inbox. Can be direct or group.",
"properties": {
"convoId": {
"type": "string"
},
"rev": {
"type": "string"
}
},
"required": [
"rev",
"convoId"
],
"type": "object"
},
"logAddMember": {
"description": "[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": {
"type": "string"
},
"message": {
"ref": "#systemMessageDataAddMember",
"type": "ref"
},
"rev": {
"type": "string"
}
},
"required": [
"rev",
"convoId",
"message"
],
"type": "object"
},
"logAddReaction": {
"description": "Event indicating a reaction was added to a message.",
"properties": {
"convoId": {
"type": "string"
},
"message": {
"refs": [
"#messageView",
"#deletedMessageView"
],
"type": "union"
},
"reaction": {
"ref": "#reactionView",
"type": "ref"
},
"rev": {
"type": "string"
}
},
"required": [
"rev",
"convoId",
"message",
"reaction"
],
"type": "object"
},
"logApproveJoinRequest": {
"description": "[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": {
"type": "string"
},
"member": {
"description": "Prospective member who requested to join.",
"ref": "chat.bsky.actor.defs#profileViewBasic",
"type": "ref"
},
"rev": {
"type": "string"
}
},
"required": [
"rev",
"convoId",
"member"
],
"type": "object"
},
"logBeginConvo": {
"description": "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": {
"type": "string"
},
"rev": {
"type": "string"
}
},
"required": [
"rev",
"convoId"
],
"type": "object"
},
"logCreateJoinLink": {
"description": "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join link was created for a group convo.",
"properties": {
"convoId": {
"type": "string"
},
"message": {
"ref": "#systemMessageDataCreateJoinLink",
"type": "ref"
},
"rev": {
"type": "string"
}
},
"required": [
"rev",
"convoId",
"message"
],
"type": "object"
},
"logCreateMessage": {
"description": "Event indicating a user-originated message was created. Is not emitted for system messages.",
"properties": {
"convoId": {
"type": "string"
},
"message": {
"refs": [
"#messageView",
"#deletedMessageView"
],
"type": "union"
},
"rev": {
"type": "string"
}
},
"required": [
"rev",
"convoId",
"message"
],
"type": "object"
},
"logDeleteMessage": {
"description": "Event indicating a user-originated message was deleted. Is not emitted for system messages.",
"properties": {
"convoId": {
"type": "string"
},
"message": {
"refs": [
"#messageView",
"#deletedMessageView"
],
"type": "union"
},
"rev": {
"type": "string"
}
},
"required": [
"rev",
"convoId",
"message"
],
"type": "object"
},
"logDisableJoinLink": {
"description": "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join link was disabled for a group convo.",
"properties": {
"convoId": {
"type": "string"
},
"message": {
"ref": "#systemMessageDataDisableJoinLink",
"type": "ref"
},
"rev": {
"type": "string"
}
},
"required": [
"rev",
"convoId",
"message"
],
"type": "object"
},
"logEditGroup": {
"description": "[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": {
"type": "string"
},
"message": {
"ref": "#systemMessageDataEditGroup",
"type": "ref"
},
"rev": {
"type": "string"
}
},
"required": [
"rev",
"convoId",
"message"
],
"type": "object"
},
"logEditJoinLink": {
"description": "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a settings about a join link for a group convo were edited.",
"properties": {
"convoId": {
"type": "string"
},
"message": {
"ref": "#systemMessageDataEditJoinLink",
"type": "ref"
},
"rev": {
"type": "string"
}
},
"required": [
"rev",
"convoId",
"message"
],
"type": "object"
},
"logEnableJoinLink": {
"description": "[NOTE: This is under active development and should be considered unstable while this note is here]. Event indicating a join link was enabled for a group convo.",
"properties": {
"convoId": {
"type": "string"
},
"message": {
"ref": "#systemMessageDataEnableJoinLink",
"type": "ref"
},
"rev": {
"type": "string"
}
},
"required": [
"rev",
"convoId",
"message"
],
"type": "object"
},
"logIncomingJoinRequest": {
"description": "[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": {
"type": "string"
},
"member": {
"description": "Prospective member who requested to join.",
"ref": "chat.bsky.actor.defs#profileViewBasic",
"type": "ref"
},
"rev": {
"type": "string"
}
},
"required": [
"rev",
"convoId",
"member"
],
"type": "object"
},
"logLeaveConvo": {
"description": "Event indicating the viewer left a convo. Can be direct or group.",
"properties": {
"convoId": {
"type": "string"
},
"rev": {
"type": "string"
}
},
"required": [
"rev",
"convoId"
],
"type": "object"
},
"logLockConvo": {
"description": "[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": {
"type": "string"
},
"message": {
"ref": "#systemMessageDataLockConvo",
"type": "ref"
},
"rev": {
"type": "string"
}
},
"required": [
"rev",
"convoId",
"message"
],
"type": "object"
},
"logLockConvoPermanently": {
"description": "[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": {
"type": "string"
},
"message": {
"ref": "#systemMessageDataLockConvoPermanently",
"type": "ref"
},
"rev": {
"type": "string"
}
},
"required": [
"rev",
"convoId",
"message"
],
"type": "object"
},
"logMemberJoin": {
"description": "[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": {
"type": "string"
},
"message": {
"ref": "#systemMessageDataMemberJoin",
"type": "ref"
},
"rev": {
"type": "string"
}
},
"required": [
"rev",
"convoId",
"message"
],
"type": "object"
},
"logMemberLeave": {
"description": "[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": {
"type": "string"
},
"message": {
"ref": "#systemMessageDataMemberLeave",
"type": "ref"
},
"rev": {
"type": "string"
}
},
"required": [
"rev",
"convoId",
"message"
],
"type": "object"
},
"logMuteConvo": {
"description": "Event indicating the viewer muted a convo. Can be direct or group.",
"properties": {
"convoId": {
"type": "string"
},
"rev": {
"type": "string"
}
},
"required": [
"rev",
"convoId"
],
"type": "object"
},
"logOutgoingJoinRequest": {
"description": "[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": {
"type": "string"
},
"rev": {
"type": "string"
}
},
"required": [
"rev",
"convoId"
],
"type": "object"
},
"logReadConvo": {
"description": "[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": {
"type": "string"
},
"message": {
"refs": [
"#messageView",
"#deletedMessageView",
"#systemMessageView"
],
"type": "union"
},
"rev": {
"type": "string"
}
},
"required": [
"rev",
"convoId",
"message"
],
"type": "object"
},
"logReadMessage": {
"description": "DEPRECATED: use logReadConvo instead. Event indicating a convo was read up to a certain message.",
"properties": {
"convoId": {
"type": "string"
},
"message": {
"refs": [
"#messageView",
"#deletedMessageView",
"#systemMessageView"
],
"type": "union"
},
"rev": {
"type": "string"
}
},
"required": [
"rev",
"convoId",
"message"
],
"type": "object"
},
"logRejectJoinRequest": {
"description": "[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": {
"type": "string"
},
"member": {
"description": "Prospective member who requested to join.",
"ref": "chat.bsky.actor.defs#profileViewBasic",
"type": "ref"
},
"rev": {
"type": "string"
}
},
"required": [
"rev",
"convoId",
"member"
],
"type": "object"
},
"logRemoveMember": {
"description": "[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": {
"type": "string"
},
"message": {
"ref": "#systemMessageDataRemoveMember",
"type": "ref"
},
"rev": {
"type": "string"
}
},
"required": [
"rev",
"convoId",
"message"
],
"type": "object"
},
"logRemoveReaction": {
"description": "Event indicating a reaction was removed from a message.",
"properties": {
"convoId": {
"type": "string"
},
"message": {
"refs": [
"#messageView",
"#deletedMessageView"
],
"type": "union"
},
"reaction": {
"ref": "#reactionView",
"type": "ref"
},
"rev": {
"type": "string"
}
},
"required": [
"rev",
"convoId",
"message",
"reaction"
],
"type": "object"
},
"logUnlockConvo": {
"description": "[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": {
"type": "string"
},
"message": {
"ref": "#systemMessageDataUnlockConvo",
"type": "ref"
},
"rev": {
"type": "string"
}
},
"required": [
"rev",
"convoId",
"message"
],
"type": "object"
},
"logUnmuteConvo": {
"description": "Event indicating the viewer unmuted a convo. Can be direct or group.",
"properties": {
"convoId": {
"type": "string"
},
"rev": {
"type": "string"
}
},
"required": [
"rev",
"convoId"
],
"type": "object"
},
"messageAndReactionView": {
"properties": {
"message": {
"ref": "#messageView",
"type": "ref"
},
"reaction": {
"ref": "#reactionView",
"type": "ref"
}
},
"required": [
"message",
"reaction"
],
"type": "object"
},
"messageInput": {
"properties": {
"embed": {
"refs": [
"app.bsky.embed.record"
],
"type": "union"
},
"facets": {
"description": "Annotations of text (mentions, URLs, hashtags, etc)",
"items": {
"ref": "app.bsky.richtext.facet",
"type": "ref"
},
"type": "array"
},
"text": {
"maxGraphemes": 1000,
"maxLength": 10000,
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
},
"messageRef": {
"properties": {
"convoId": {
"type": "string"
},
"did": {
"format": "did",
"type": "string"
},
"messageId": {
"type": "string"
}
},
"required": [
"did",
"messageId",
"convoId"
],
"type": "object"
},
"messageView": {
"properties": {
"embed": {
"refs": [
"app.bsky.embed.record#view"
],
"type": "union"
},
"facets": {
"description": "Annotations of text (mentions, URLs, hashtags, etc)",
"items": {
"ref": "app.bsky.richtext.facet",
"type": "ref"
},
"type": "array"
},
"id": {
"type": "string"
},
"reactions": {
"description": "Reactions to this message, in ascending order of creation time.",
"items": {
"ref": "#reactionView",
"type": "ref"
},
"type": "array"
},
"rev": {
"type": "string"
},
"sender": {
"ref": "#messageViewSender",
"type": "ref"
},
"sentAt": {
"format": "datetime",
"type": "string"
},
"text": {
"maxGraphemes": 1000,
"maxLength": 10000,
"type": "string"
}
},
"required": [
"id",
"rev",
"text",
"sender",
"sentAt"
],
"type": "object"
},
"messageViewSender": {
"properties": {
"did": {
"format": "did",
"type": "string"
}
},
"required": [
"did"
],
"type": "object"
},
"reactionView": {
"properties": {
"createdAt": {
"format": "datetime",
"type": "string"
},
"sender": {
"ref": "#reactionViewSender",
"type": "ref"
},
"value": {
"type": "string"
}
},
"required": [
"value",
"sender",
"createdAt"
],
"type": "object"
},
"reactionViewSender": {
"properties": {
"did": {
"format": "did",
"type": "string"
}
},
"required": [
"did"
],
"type": "object"
},
"systemMessageDataAddMember": {
"description": "[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": {
"addedBy": {
"ref": "chat.bsky.actor.defs#profileViewBasic",
"type": "ref"
},
"member": {
"description": "Current view of the member who was added.",
"ref": "chat.bsky.actor.defs#profileViewBasic",
"type": "ref"
},
"role": {
"description": "Role the user was added to the group with. The role from 'member' will reflect the current data, not historical.",
"ref": "chat.bsky.actor.defs#memberRole",
"type": "ref"
}
},
"required": [
"member",
"role",
"addedBy"
],
"type": "object"
},
"systemMessageDataCreateJoinLink": {
"description": "[NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating the group join link was created.",
"properties": {},
"type": "object"
},
"systemMessageDataDisableJoinLink": {
"description": "[NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating the group join link was disabled.",
"properties": {},
"type": "object"
},
"systemMessageDataEditGroup": {
"description": "[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": {
"description": "Group name that replaced the old.",
"type": "string"
},
"oldName": {
"description": "Group name that was replaced.",
"type": "string"
}
},
"type": "object"
},
"systemMessageDataEditJoinLink": {
"description": "[NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating the group join link was edited.",
"properties": {},
"type": "object"
},
"systemMessageDataEnableJoinLink": {
"description": "[NOTE: This is under active development and should be considered unstable while this note is here]. System message indicating the group join link was enabled.",
"properties": {},
"type": "object"
},
"systemMessageDataLockConvo": {
"description": "[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": {
"description": "Current view of the member who locked the group.",
"ref": "chat.bsky.actor.defs#profileViewBasic",
"type": "ref"
}
},
"required": [
"lockedBy"
],
"type": "object"
},
"systemMessageDataLockConvoPermanently": {
"description": "[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": {
"description": "Current view of the member who locked the group.",
"ref": "chat.bsky.actor.defs#profileViewBasic",
"type": "ref"
}
},
"required": [
"lockedBy"
],
"type": "object"
},
"systemMessageDataMemberJoin": {
"description": "[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": {
"approvedBy": {
"description": "If join link was configured to require approval, this will be set to who approved the request. Undefined if approval was not required.",
"ref": "chat.bsky.actor.defs#profileViewBasic",
"type": "ref"
},
"member": {
"description": "Current view of the member who joined.",
"ref": "chat.bsky.actor.defs#profileViewBasic",
"type": "ref"
},
"role": {
"description": "Role the user was added to the group with. The role from 'member' will reflect the current data, not historical.",
"ref": "chat.bsky.actor.defs#memberRole",
"type": "ref"
}
},
"required": [
"member",
"role"
],
"type": "object"
},
"systemMessageDataMemberLeave": {
"description": "[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": {
"description": "Current view of the member who left the group.",
"ref": "chat.bsky.actor.defs#profileViewBasic",
"type": "ref"
}
},
"required": [
"member"
],
"type": "object"
},
"systemMessageDataRemoveMember": {
"description": "[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": {
"description": "Current view of the member who was removed.",
"ref": "chat.bsky.actor.defs#profileViewBasic",
"type": "ref"
},
"removedBy": {
"ref": "chat.bsky.actor.defs#profileViewBasic",
"type": "ref"
}
},
"required": [
"member",
"removedBy"
],
"type": "object"
},
"systemMessageDataUnlockConvo": {
"description": "[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": {
"description": "Current view of the member who unlocked the group.",
"ref": "chat.bsky.actor.defs#profileViewBasic",
"type": "ref"
}
},
"required": [
"unlockedBy"
],
"type": "object"
},
"systemMessageView": {
"description": "[NOTE: This is under active development and should be considered unstable while this note is here].",
"properties": {
"data": {
"refs": [
"#systemMessageDataAddMember",
"#systemMessageDataRemoveMember",
"#systemMessageDataMemberJoin",
"#systemMessageDataMemberLeave",
"#systemMessageDataLockConvo",
"#systemMessageDataUnlockConvo",
"#systemMessageDataLockConvoPermanently",
"#systemMessageDataEditGroup",
"#systemMessageDataCreateJoinLink",
"#systemMessageDataEditJoinLink",
"#systemMessageDataEnableJoinLink",
"#systemMessageDataDisableJoinLink"
],
"type": "union"
},
"id": {
"type": "string"
},
"rev": {
"type": "string"
},
"sentAt": {
"format": "datetime",
"type": "string"
}
},
"required": [
"id",
"rev",
"sentAt",
"data"
],
"type": "object"
}
},
"id": "chat.bsky.convo.defs",
"lexicon": 1
}