chat.bsky.convo.leaveConvo
Schema Diff
+15 -1
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"id": "chat.bsky.convo.leaveConvo",
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
],
12
12
"properties": {
13
13
"convoId": {
14
14
"type": "string"
15
15
}
16
16
}
17
17
},
18
18
"encoding": "application/json"
19
19
},
20
+
"errors": [
21
+
{
22
+
"name": "InvalidConvo"
23
+
},
24
+
{
25
+
"name": "AlreadyLeftConvo",
26
+
"description": "The user has already left the conversation and is not back in (a direct conversation can be restarted by a new message, which allows leaving again)."
27
+
},
28
+
{
29
+
"name": "OwnerCannotLeave",
30
+
"description": "The owner of a group conversation cannot leave before locking the group."
31
+
}
32
+
],
20
33
"output": {
21
34
"schema": {
22
35
"type": "object",
23
36
"required": [
24
37
"convoId",
25
38
"rev"
26
39
],
27
40
"properties": {
28
41
"rev": {
29
42
"type": "string"
30
43
},
31
44
"convoId": {
32
45
"type": "string"
33
46
}
34
47
}
35
48
},
36
49
"encoding": "application/json"
37
-
}
50
+
},
51
+
"description": "Leaves a conversation (direct or group). For group, this effectively removes membership. For direct, membership is never removed, only changed to remove from enumerations by the user who left."
38
52
}
39
53
},
40
54
"$type": "com.atproto.lexicon.schema",
41
55
"lexicon": 1
42
56
}