chat.sprk.convo.getConvoAvailability

Get whether the requester and the other members can chat. If an existing convo is found for these members, it is returned.

Repository @sprk.so did:plc:cveom2iroj3mt747sd4qqnr2 namespace authority
Details · query
Kindquery
Authorityconvo.sprk.chat
Indexed
cid bafyreibb3scjdv64siwgcnyyn52oofhyopzbjwmercftr4r5llm467muee

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Get whether the requester and the other members can chat. If an existing convo is found for these members, it is returned.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "canChat": {
              "type": "boolean"
            },
            "convo": {
              "ref": "chat.sprk.convo.defs#convoView",
              "type": "ref"
            }
          },
          "required": [
            "canChat"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "members": {
            "items": {
              "format": "did",
              "type": "string"
            },
            "maxLength": 10,
            "minLength": 1,
            "type": "array"
          }
        },
        "required": [
          "members"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "chat.sprk.convo.getConvoAvailability",
  "lexicon": 1
}