chat.bsky.convo.addReaction
Schema Diff
+7 -0
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "Adds an emoji reaction to a message. Requires authentication. It is idempotent, so multiple calls from the same user with the same emoji result in a single reaction.",
6
6
"errors": [
7
7
{
8
+
"name": "InvalidConvo"
9
+
},
10
+
{
11
+
"description": "Indicates that reactions are not allowed on this message, e.g. because it is a system message.",
12
+
"name": "ReactionNotAllowed"
13
+
},
14
+
{
8
15
"description": "Indicates that the message has been deleted and reactions can no longer be added/removed.",
9
16
"name": "ReactionMessageDeleted"
10
17
},
11
18
{
12
19
"description": "Indicates that the message has the maximum number of reactions allowed for a single user, and the requested reaction wasn't yet present. If it was already present, the request will not fail since it is idempotent.",
13
20
"name": "ReactionLimitReached"
14
21
},
15
22
{
16
23
"description": "Indicates the value for the reaction is not acceptable. In general, this means it is not an emoji.",
17
24
"name": "ReactionInvalidValue"
18
25
}
19
26
],
20
27
"input": {
21
28
"encoding": "application/json",
22
29
"schema": {
23
30
"properties": {
24
31
"convoId": {
25
32
"type": "string"
26
33
},
27
34
"messageId": {
28
35
"type": "string"
29
36
},
30
37
"value": {
31
38
"maxGraphemes": 1,
32
39
"maxLength": 64,
33
40
"minGraphemes": 1,
34
41
"minLength": 1,
35
42
"type": "string"
36
43
}
37
44
},
38
45
"required": [
39
46
"convoId",
40
47
"messageId",
41
48
"value"
42
49
],
43
50
"type": "object"
44
51
}
45
52
},
46
53
"output": {
47
54
"encoding": "application/json",
48
55
"schema": {
49
56
"properties": {
50
57
"message": {
51
58
"ref": "chat.bsky.convo.defs#messageView",
52
59
"type": "ref"
53
60
}
54
61
},
55
62
"required": [
56
63
"message"
57
64
],
58
65
"type": "object"
59
66
}
60
67
},
61
68
"type": "procedure"
62
69
}
63
70
},
64
71
"id": "chat.bsky.convo.addReaction",
65
72
"lexicon": 1
66
73
}