532681d5c0
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
47 lines
1.2 KiB
JSON
47 lines
1.2 KiB
JSON
{
|
|
"id": "chat.bsky.convo.getConvoAvailability",
|
|
"defs": {
|
|
"main": {
|
|
"type": "query",
|
|
"output": {
|
|
"schema": {
|
|
"type": "object",
|
|
"required": [
|
|
"canChat"
|
|
],
|
|
"properties": {
|
|
"convo": {
|
|
"ref": "chat.bsky.convo.defs#convoView",
|
|
"type": "ref"
|
|
},
|
|
"canChat": {
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
},
|
|
"encoding": "application/json"
|
|
},
|
|
"parameters": {
|
|
"type": "params",
|
|
"required": [
|
|
"members"
|
|
],
|
|
"properties": {
|
|
"members": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"format": "did"
|
|
},
|
|
"maxLength": 10,
|
|
"minLength": 1
|
|
}
|
|
}
|
|
},
|
|
"description": "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 if it doesn't exist."
|
|
}
|
|
},
|
|
"$type": "com.atproto.lexicon.schema",
|
|
"lexicon": 1
|
|
}
|