chat.bsky.convo.deleteMessageForSelf

Marks a message as deleted for the viewer, so they won't see that message in future enumerations.

Details · procedure
Kindprocedure
Authorityconvo.bsky.chat
Indexed
cid bafyreicsfbucwa3y5jdtzv6focgl5dao2lhmaa22jljllwjp6rz4noxowe

Checks

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