chat.sprk.convo.sendMessageBatch

Repository @sprk.so did:plc:cveom2iroj3mt747sd4qqnr2 namespace authority
Details · procedure
Kindprocedure
Authorityconvo.sprk.chat
Indexed
cid bafyreidvaer6wjnjjgcvypaa6nulncpsujbwtbyzllew3cuuvvj2kl7b3e

Checks

Valid
  • unlimited-string defs.batchItem.properties.convoIdNo maxLength, maxGraphemes or format limits this string.
  • missing-primary-description defs.mainThe procedure has no description.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "batchItem": {
      "properties": {
        "convoId": {
          "type": "string"
        },
        "message": {
          "ref": "chat.sprk.convo.defs#messageInput",
          "type": "ref"
        }
      },
      "required": [
        "convoId",
        "message"
      ],
      "type": "object"
    },
    "main": {
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "items": {
              "items": {
                "ref": "#batchItem",
                "type": "ref"
              },
              "maxLength": 100,
              "type": "array"
            }
          },
          "required": [
            "items"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "items": {
              "items": {
                "ref": "chat.sprk.convo.defs#messageView",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "items"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "chat.sprk.convo.sendMessageBatch",
  "lexicon": 1
}