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

42 lines
1.0 KiB
JSON

{
"lexicon": 1,
"id": "chat.bsky.convo.deleteMessageForSelf",
"defs": {
"main": {
"type": "procedure",
"description": "Marks a message as deleted for the viewer, so they won't see that message in future enumerations.",
"errors": [
{
"name": "InvalidConvo"
},
{
"name": "MessageDeleteNotAllowed",
"description": "Indicates that this message cannot be deleted, e.g. because it is a system message."
}
],
"input": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": ["convoId", "messageId"],
"properties": {
"convoId": {
"type": "string"
},
"messageId": {
"type": "string"
}
}
}
},
"output": {
"encoding": "application/json",
"schema": {
"type": "ref",
"ref": "chat.bsky.convo.defs#deletedMessageView"
}
}
}
}
}