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