app.zeens.getChatGate
Return whether a sender may start/continue a conversation with a recipient, based on the recipient's chatPrefs and the follow relationship. Used by the server-side start gate.
Details · query
| Kind | query |
|---|---|
| Authority | zeens.app |
| Indexed |
Checks
Validunlimited-stringdefs.main.output.schema.properties.allowNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.output.schema.properties.bucketNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Return whether a sender may start/continue a conversation with a recipient, based on the recipient's chatPrefs and the follow relationship. Used by the server-side start gate.",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"allow": {
"enum": [
"off",
"mutuals",
"everyone"
],
"type": "string"
},
"bucket": {
"enum": [
"inbox",
"requests"
],
"type": "string"
},
"mutuals": {
"type": "boolean"
},
"permitted": {
"type": "boolean"
}
},
"required": [
"allow",
"mutuals",
"permitted"
],
"type": "object"
}
},
"parameters": {
"properties": {
"recipient": {
"format": "did",
"type": "string"
},
"sender": {
"format": "did",
"type": "string"
}
},
"required": [
"sender",
"recipient"
],
"type": "params"
},
"type": "query"
}
},
"id": "app.zeens.getChatGate",
"lexicon": 1
}