atproto blogging
at main 45 lines 1.1 kB view raw
1{ 2 "lexicon": 1, 3 "id": "chat.bsky.convo.getConvoAvailability", 4 "defs": { 5 "main": { 6 "type": "query", 7 "description": "Get whether the requester and the other members can chat. If an existing convo is found for these members, it is returned.", 8 "parameters": { 9 "type": "params", 10 "required": [ 11 "members" 12 ], 13 "properties": { 14 "members": { 15 "type": "array", 16 "items": { 17 "type": "string", 18 "format": "did" 19 }, 20 "minLength": 1, 21 "maxLength": 10 22 } 23 } 24 }, 25 "output": { 26 "encoding": "application/json", 27 "schema": { 28 "type": "object", 29 "required": [ 30 "canChat" 31 ], 32 "properties": { 33 "canChat": { 34 "type": "boolean" 35 }, 36 "convo": { 37 "type": "ref", 38 "ref": "chat.bsky.convo.defs#convoView" 39 } 40 } 41 } 42 } 43 } 44 } 45}