{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Changes the viewer's Sends preferences; a field left out keeps its value. Turning receipts off also hides what the viewer already watched, and nothing watched while they are off is recorded.",
      "errors": [
        {
          "name": "AuthenticationRequired"
        },
        {
          "name": "InvalidRequest"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "allowFrom": {
              "maxLength": 32,
              "type": "string"
            },
            "receipts": {
              "type": "boolean"
            }
          },
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "ref": "com.getorbyt.send.defs#preferencesView",
          "type": "ref"
        }
      },
      "type": "procedure"
    }
  },
  "id": "com.getorbyt.send.putPreferences",
  "lexicon": 1
}
