app.didpic.chat.setReaction

React to a message with a single emoji.

Details · procedure
Kindprocedure
Authoritychat.didpic.app
Indexed
cid bafyreigdun6jftlopf3bwofxup4k5v32yajlz2htfwyuwsou6vd675fd2e

Checks

Valid
  • unlimited-string defs.main.input.schema.properties.messageIdNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.input.schema.properties.reactionNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "React to a message with a single emoji.",
      "errors": [
        {
          "name": "InvalidRequest"
        },
        {
          "name": "TooManyReactions"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "messageId": {
              "type": "string"
            },
            "reaction": {
              "type": "string"
            }
          },
          "required": [
            "messageId",
            "reaction"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "reactions": {
              "items": {
                "ref": "app.didpic.chat.defs#reactionSummary",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "reactions"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "app.didpic.chat.setReaction",
  "lexicon": 1
}