app.didpic.chat.findOrCreateConversation

lexicons.didpic.app

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Start a conversation, or return an existing 1:1 with the same person.",
      "errors": [
        {
          "name": "Blocked"
        },
        {
          "name": "InvalidRequest"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "participantDids": {
              "items": {
                "type": "string"
              },
              "maxLength": 9,
              "minLength": 1,
              "type": "array"
            }
          },
          "required": [
            "participantDids"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "conversationId": {
              "type": "string"
            },
            "created": {
              "description": "False if an existing conversation was reused.",
              "type": "boolean"
            }
          },
          "required": [
            "conversationId",
            "created"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "app.didpic.chat.findOrCreateConversation",
  "lexicon": 1
}

Validate Record

Validate a record against app.didpic.chat.findOrCreateConversation

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:an2jtp4jgkkbtmwfzhpbxawd
CID
bafyreieti4rk37yvz2k7a6cwwa66u53ki42lb2swvhaexjniyuqh2ty4qu
Indexed At
2026-10-11 02:28 UTC
AT-URI
at://did:plc:an2jtp4jgkkbtmwfzhpbxawd/com.atproto.lexicon.schema/app.didpic.chat.findOrCreateConversation

Version History (3 versions)

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • A single conversation the viewer participates in.

  • Check whether the requester and the other members can start a 1-1 chat. Only applicable to direct (non-group) conversations. If an existing convo is found for these members, it is returned. Does not create a new convo i…

  • Get or create a 1-1 conversation for the given members. Always returns the same direct (non-group) conversation. To create a group conversation, use createGroup.

Lexicon Garden

@