Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions lexicons/app/bsky/actor/defs.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,10 @@
"allowIncoming": {
"type": "string",
"knownValues": ["all", "none", "following"]
},
"allowGroupInvites": {
"type": "string",
"knownValues": ["all", "none", "following"]
}
}
},
Expand Down
5 changes: 5 additions & 0 deletions lexicons/chat/bsky/actor/declaration.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
"allowIncoming": {
"type": "string",
"knownValues": ["all", "none", "following"]
},
"allowGroupInvites": {
"description": "[NOTE: This is under active development and should be considered unstable while this note is here]. Declaration about group chat invitation preferences for the record owner.",
"type": "string",
"knownValues": ["all", "none", "following"]
}
}
}
Expand Down
32 changes: 32 additions & 0 deletions lexicons/chat/bsky/actor/defs.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
"lexicon": 1,
"id": "chat.bsky.actor.defs",
"defs": {
"memberRole": {
"type": "string",
"knownValues": ["owner", "standard"]
},
"profileViewBasic": {
"type": "object",
"required": ["did", "handle"],
Expand All @@ -23,13 +27,41 @@
"type": "array",
"items": { "type": "ref", "ref": "com.atproto.label.defs#label" }
},
"createdAt": { "type": "string", "format": "datetime" },
"chatDisabled": {
"type": "boolean",
"description": "Set to true when the actor cannot actively participate in conversations"
},
"verification": {
"type": "ref",
"ref": "app.bsky.actor.defs#verificationState"
},
"kind": {
"description": "Union field that has data specific to different kinds of convos.",
"type": "union",
"refs": ["#directConvoMember", "#groupConvoMember"]
}
}
},
"directConvoMember": {
"description": "[NOTE: This is under active development and should be considered unstable while this note is here].",
"type": "object",
"properties": {}
},
"groupConvoMember": {
"description": "[NOTE: This is under active development and should be considered unstable while this note is here].",
"type": "object",
"required": ["role"],
"properties": {
"addedBy": {
"description": "Who added this member. Only present if the member was added (instead of joining via link).",
"type": "ref",
"ref": "#profileViewBasic"
},
"role": {
"description": "The member's role within this conversation. Only present in group conversation member lists.",
"type": "ref",
"ref": "#memberRole"
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion lexicons/chat/bsky/authFullChatClient.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
"inheritAud": true,
"lxm": [
"chat.bsky.actor.deleteAccount",
"chat.bsky.actor.exportAccountData",
"chat.bsky.convo.acceptConvo",
"chat.bsky.convo.addReaction",
"chat.bsky.convo.deleteMessageForSelf",
"chat.bsky.convo.exportAccountData",
"chat.bsky.convo.getConvo",
"chat.bsky.convo.getConvoAvailability",
"chat.bsky.convo.getConvoForMembers",
Expand Down
2 changes: 2 additions & 0 deletions lexicons/chat/bsky/convo/acceptConvo.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
"defs": {
"main": {
"type": "procedure",
"description": "Marks a conversation as accepted, so it is shown in the list of accepted convos instead on the request convos.",
"errors": [{ "name": "InvalidConvo" }],
"input": {
"encoding": "application/json",
"schema": {
Expand Down
5 changes: 5 additions & 0 deletions lexicons/chat/bsky/convo/addReaction.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@
}
},
"errors": [
{ "name": "InvalidConvo" },
{
"name": "ReactionNotAllowed",
"description": "Indicates that reactions are not allowed on this message, e.g. because it is a system message."
},
{
"name": "ReactionMessageDeleted",
"description": "Indicates that the message has been deleted and reactions can no longer be added/removed."
Expand Down
Loading
Loading