Files
bsky-social-app/lexicons/chat/bsky/convo/lockConvo.json

47 lines
998 B
JSON

{
"lexicon": 1,
"id": "chat.bsky.convo.lockConvo",
"defs": {
"main": {
"type": "procedure",
"description": "Locks a group convo so no more content (messages, reactions) can be added to it.",
"errors": [
{
"name": "ConvoLocked"
},
{
"name": "InvalidConvo"
},
{
"name": "InsufficientRole"
}
],
"input": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": ["convoId"],
"properties": {
"convoId": {
"type": "string"
}
}
}
},
"output": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": ["convo"],
"properties": {
"convo": {
"type": "ref",
"ref": "chat.bsky.convo.defs#convoView"
}
}
}
}
}
}
}