app.didpic.chat.sendMessage
Schema Diff
+32 -1
Compatibility Analysis
Breaking Changes Detected
1 breaking change, 13 non-breaking changes.
Breaking Changes (1)
- RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "app.didpic.chat.sendMessage:input.linkPreview", src: "app.didpic.chat.sendMessage:input.linkPreview", tgt: "app.didpic.chat.sendMessage:input.linkPreview.url", kind: "prop", name: Some("url") }
Non-Breaking Changes (13)
- AddedVertex AddedVertex { vertex_id: "app.didpic.chat.sendMessage:input.linkPreview" }
- AddedVertex AddedVertex { vertex_id: "app.didpic.chat.sendMessage:input.linkPreview.description" }
- AddedVertex AddedVertex { vertex_id: "app.didpic.chat.sendMessage:input.linkPreview.imageHeight" }
- AddedVertex AddedVertex { vertex_id: "app.didpic.chat.sendMessage:input.linkPreview.imageKey" }
- AddedVertex AddedVertex { vertex_id: "app.didpic.chat.sendMessage:input.linkPreview.imageWidth" }
- AddedVertex AddedVertex { vertex_id: "app.didpic.chat.sendMessage:input.linkPreview.title" }
- AddedVertex AddedVertex { vertex_id: "app.didpic.chat.sendMessage:input.linkPreview.url" }
- AddedEdge AddedEdge { src: "app.didpic.chat.sendMessage:input", tgt: "app.didpic.chat.sendMessage:input.linkPreview", kind: "prop", name: Some("linkPreview") }
- AddedEdge AddedEdge { src: "app.didpic.chat.sendMessage:input.linkPreview", tgt: "app.didpic.chat.sendMessage:input.linkPreview.description", kind: "prop", name: Some("description") }
- AddedEdge AddedEdge { src: "app.didpic.chat.sendMessage:input.linkPreview", tgt: "app.didpic.chat.sendMessage:input.linkPreview.imageHeight", kind: "prop", name: Some("imageHeight") }
- AddedEdge AddedEdge { src: "app.didpic.chat.sendMessage:input.linkPreview", tgt: "app.didpic.chat.sendMessage:input.linkPreview.imageKey", kind: "prop", name: Some("imageKey") }
- AddedEdge AddedEdge { src: "app.didpic.chat.sendMessage:input.linkPreview", tgt: "app.didpic.chat.sendMessage:input.linkPreview.imageWidth", kind: "prop", name: Some("imageWidth") }
- AddedEdge AddedEdge { src: "app.didpic.chat.sendMessage:input.linkPreview", tgt: "app.didpic.chat.sendMessage:input.linkPreview.title", kind: "prop", name: Some("title") }
Migration Guidance
Added Elements
AddedVertex { vertex_id: "app.didpic.chat.sendMessage:input.linkPreview" }AddedVertex { vertex_id: "app.didpic.chat.sendMessage:input.linkPreview.description" }AddedVertex { vertex_id: "app.didpic.chat.sendMessage:input.linkPreview.imageHeight" }AddedVertex { vertex_id: "app.didpic.chat.sendMessage:input.linkPreview.imageKey" }AddedVertex { vertex_id: "app.didpic.chat.sendMessage:input.linkPreview.imageWidth" }AddedVertex { vertex_id: "app.didpic.chat.sendMessage:input.linkPreview.title" }AddedVertex { vertex_id: "app.didpic.chat.sendMessage:input.linkPreview.url" }
Additional Notes
- Breaking: RequiredEdgeAdded { vertex_id: "app.didpic.chat.sendMessage:input.linkPreview", src: "app.didpic.chat.sendMessage:input.linkPreview", tgt: "app.didpic.chat.sendMessage:input.linkPreview.url", kind: "prop", name: Some("url") }
- Non-breaking: AddedEdge { src: "app.didpic.chat.sendMessage:input", tgt: "app.didpic.chat.sendMessage:input.linkPreview", kind: "prop", name: Some("linkPreview") }
- Non-breaking: AddedEdge { src: "app.didpic.chat.sendMessage:input.linkPreview", tgt: "app.didpic.chat.sendMessage:input.linkPreview.description", kind: "prop", name: Some("description") }
- Non-breaking: AddedEdge { src: "app.didpic.chat.sendMessage:input.linkPreview", tgt: "app.didpic.chat.sendMessage:input.linkPreview.imageHeight", kind: "prop", name: Some("imageHeight") }
- Non-breaking: AddedEdge { src: "app.didpic.chat.sendMessage:input.linkPreview", tgt: "app.didpic.chat.sendMessage:input.linkPreview.imageKey", kind: "prop", name: Some("imageKey") }
- Non-breaking: AddedEdge { src: "app.didpic.chat.sendMessage:input.linkPreview", tgt: "app.didpic.chat.sendMessage:input.linkPreview.imageWidth", kind: "prop", name: Some("imageWidth") }
- Non-breaking: AddedEdge { src: "app.didpic.chat.sendMessage:input.linkPreview", tgt: "app.didpic.chat.sendMessage:input.linkPreview.title", kind: "prop", name: Some("title") }
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 (from a prior uploadMessageImage call), or a bare sharedPostUri with neither text nor image. 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
+
"linkPreview": {
43
+
"properties": {
44
+
"description": {
45
+
"maxLength": 500,
46
+
"type": "string"
47
+
},
48
+
"imageHeight": {
49
+
"minimum": 1,
50
+
"type": "integer"
51
+
},
52
+
"imageKey": {
53
+
"type": "string"
54
+
},
55
+
"imageWidth": {
56
+
"minimum": 1,
57
+
"type": "integer"
58
+
},
59
+
"title": {
60
+
"maxLength": 300,
61
+
"type": "string"
62
+
},
63
+
"url": {
64
+
"format": "uri",
65
+
"type": "string"
66
+
}
67
+
},
68
+
"required": [
69
+
"url"
70
+
],
71
+
"type": "object"
72
+
},
42
73
"replyToMessageId": {
43
74
"type": "string"
44
75
},
45
76
"sharedPostUri": {
46
77
"format": "at-uri",
47
78
"type": "string"
48
79
},
49
80
"text": {
50
81
"type": "string"
51
82
}
52
83
},
53
84
"required": [
54
85
"conversationId"
55
86
],
56
87
"type": "object"
57
88
}
58
89
},
59
90
"output": {
60
91
"encoding": "application/json",
61
92
"schema": {
62
93
"properties": {
63
94
"message": {
64
95
"ref": "app.didpic.chat.defs#messageView",
65
96
"type": "ref"
66
97
}
67
98
},
68
99
"required": [
69
100
"message"
70
101
],
71
102
"type": "object"
72
103
}
73
104
},
74
105
"type": "procedure"
75
106
}
76
107
},
77
108
"id": "app.didpic.chat.sendMessage",
78
109
"lexicon": 1
79
110
}