app.didpic.chat.findOrCreateConversation

lexicons.didpic.app

Schema Diff

+2 -2

From

CID
bafyreifvu3f7dk5...
Indexed At
2026-10-10 08:21 UTC
View this version

To

CID
bafyreieti4rk37y...
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": "Start a conversation with 1-9 other people (2-10 total including the caller). With exactly one other DID, returns the viewer's existing 2-person conversation with them if one already exists rather than creating a duplicate. With 2+ other DIDs, always creates a new conversation - multiple separate group conversations with the same members are allowed. Membership is fixed at creation; there is no add/remove/leave. Fails with Blocked if any named participant has blocked the caller or vice versa.",
5 +
      "description": "Start a conversation, or return an existing 1:1 with the same person.",
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
            "participantDids": {
19 19
              "items": {
20 20
                "type": "string"
21 21
              },
22 22
              "maxLength": 9,
23 23
              "minLength": 1,
24 24
              "type": "array"
25 25
            }
26 26
          },
27 27
          "required": [
28 28
            "participantDids"
29 29
          ],
30 30
          "type": "object"
31 31
        }
32 32
      },
33 33
      "output": {
34 34
        "encoding": "application/json",
35 35
        "schema": {
36 36
          "properties": {
37 37
            "conversationId": {
38 38
              "type": "string"
39 39
            },
40 40
            "created": {
41 -
              "description": "False when an existing 2-person conversation was found and reused instead of creating a new one.",
41 +
              "description": "False if an existing conversation was reused.",
42 42
              "type": "boolean"
43 43
            }
44 44
          },
45 45
          "required": [
46 46
            "conversationId",
47 47
            "created"
48 48
          ],
49 49
          "type": "object"
50 50
        }
51 51
      },
52 52
      "type": "procedure"
53 53
    }
54 54
  },
55 55
  "id": "app.didpic.chat.findOrCreateConversation",
56 56
  "lexicon": 1
57 57
}

Compare Other Versions

Lexicon Garden

@