app.didpic.chat.sendMessage

lexicons.didpic.app

Schema Diff

+1 -1

From

CID
bafyreifi5zg5xso...
Indexed At
2026-10-11 02:09 UTC
View this version

To

CID
bafyreigvaqdhszo...
Indexed At
2026-10-11 02:28 UTC
View this version

Compatibility Analysis

Backward Compatible

No changes detected.

1 1
{
2 2
  "$type": "com.atproto.lexicon.schema",
3 3
  "defs": {
4 4
    "main": {
5 -
      "description": "Send a message into a conversation the caller participates in. Content is exactly one of: text and/or an image and/or a linkPreview, or a bare sharedPostUri with none of the others. image and linkPreview don't combine. replyToMessageId, if present, must reference a message in the same conversation. Fails with Blocked for a 2-person conversation frozen by a block either direction.",
5 +
      "description": "Send a message into a conversation the caller participates in.",
6 6
      "errors": [
7 7
        {
8 8
          "name": "Blocked"
9 9
        },
10 10
        {
11 11
          "name": "InvalidRequest"
12 12
        }
13 13
      ],
14 14
      "input": {
15 15
        "encoding": "application/json",
16 16
        "schema": {
17 17
          "properties": {
18 18
            "conversationId": {
19 19
              "type": "string"
20 20
            },
21 21
            "image": {
22 22
              "properties": {
23 23
                "height": {
24 24
                  "minimum": 1,
25 25
                  "type": "integer"
26 26
                },
27 27
                "key": {
28 28
                  "type": "string"
29 29
                },
30 30
                "width": {
31 31
                  "minimum": 1,
32 32
                  "type": "integer"
33 33
                }
34 34
              },
35 35
              "required": [
36 36
                "key",
37 37
                "width",
38 38
                "height"
39 39
              ],
40 40
              "type": "object"
41 41
            },
42 42
            "linkPreview": {
43 43
              "properties": {
44 44
                "description": {
45 45
                  "maxLength": 500,
46 46
                  "type": "string"
47 47
                },
48 48
                "imageHeight": {
49 49
                  "minimum": 1,
50 50
                  "type": "integer"
51 51
                },
52 52
                "imageKey": {
53 53
                  "type": "string"
54 54
                },
55 55
                "imageWidth": {
56 56
                  "minimum": 1,
57 57
                  "type": "integer"
58 58
                },
59 59
                "title": {
60 60
                  "maxLength": 300,
61 61
                  "type": "string"
62 62
                },
63 63
                "url": {
64 64
                  "format": "uri",
65 65
                  "type": "string"
66 66
                }
67 67
              },
68 68
              "required": [
69 69
                "url"
70 70
              ],
71 71
              "type": "object"
72 72
            },
73 73
            "replyToMessageId": {
74 74
              "type": "string"
75 75
            },
76 76
            "sharedPostUri": {
77 77
              "format": "at-uri",
78 78
              "type": "string"
79 79
            },
80 80
            "text": {
81 81
              "type": "string"
82 82
            }
83 83
          },
84 84
          "required": [
85 85
            "conversationId"
86 86
          ],
87 87
          "type": "object"
88 88
        }
89 89
      },
90 90
      "output": {
91 91
        "encoding": "application/json",
92 92
        "schema": {
93 93
          "properties": {
94 94
            "message": {
95 95
              "ref": "app.didpic.chat.defs#messageView",
96 96
              "type": "ref"
97 97
            }
98 98
          },
99 99
          "required": [
100 100
            "message"
101 101
          ],
102 102
          "type": "object"
103 103
        }
104 104
      },
105 105
      "type": "procedure"
106 106
    }
107 107
  },
108 108
  "id": "app.didpic.chat.sendMessage",
109 109
  "lexicon": 1
110 110
}

Compare Other Versions

Lexicon Garden

@